|
|
Am 29.03.2011 19:33, schrieb Aidy:
> That is the exact text of the error. I'm not at a stage of being able to compile
> the code yet, it is simply giving me the errors as if they are syntax errors.
> But the error messages I've given are the exact messages I am receiving. There
> is no more information provided :(
>
> The first error I'm coming across is in the method dents (cuDents for me) :
>
> __device__ static void cuDents (VECTOR EPoint, TNORMAL *Tnormal, VECTOR normal)
What's __device__? You're compiling for CUDA, right? Could it be that
Tnormal is interpreted as a pointer to CPU address space, while the
function is to be executed by the GPU and therefore local pointer
variables need to point to GPU address space?
Post a reply to this message
|
|