tags:

views:

42

answers:

1

I'm getting an error when i try to compile and build cuda code Error 1 error C2065: 'threadIdx' : undeclared identifier Error 2 error C2228: left of '.x' must have class/struct/union

+1  A: 

Do you use threadIdx outside of the kernel?

LonliLokli