Posts

Brooke Smith (actress)

Image
Brooke Smith Born ( 1967-05-22 ) May 22, 1967 (age 51) New York City, New York, U.S. Spouse(s) Steve Lubensky ( m.  1999) [1] Children 2 Brooke Smith (born May 22, 1967) is an American actress, known for her role as Dr. Erica Hahn on the ABC medical drama series Grey's Anatomy , and for her role as Catherine Martin in the 1991 horror film The Silence of the Lambs . Smith portrayed Sheriff Jane Greene on the A&E horror series Bates Motel . Contents 1 Early life 2 Career 3 Personal life 3.1 Family 3.2 Politics 4 Filmography 5 References 6 External links Early life Smith was born in New York City. Her father, Eugene "Gene" Smith, worked as a publisher, and her mother, publicist Lois Eileen Smith (née Wollenweber), had worked with Robert Redford and other actors and directors. [2] [3] Career Smith has appeared in numerous films, including The Moderns (1988), The Silence of the Lambs (1991), T...

Atomic counter for critical section not using atomic bandwidth according to profiler

Image
1 Even though there are first-thread per-warp atomic access to a shared variable, profiler shows zero bandwidth for atomics: Minimal reproduction example I could do here: #include <stdio.h> #include <cuda_runtime.h> #define criticalSection(T, ...) { __shared__ int ctrBlock; if(threadIdx.x==0) ctrBlock=0; __syncthreads(); while(atomicAdd(&ctrBlock,0)<(blockDim.x/32)) { if( atomicAdd(&ctrBlock,0) == (threadIdx.x/32) ) { int ctr=0; while(ctr<32) { if( ctr == (threadIdx.x&31) ) { { T,##__VA_ARGS__; } } ctr++; __syncwarp(); ...