POV-Ray : Newsgroups : povray.programming : Type problems : Re: Type problems Server Time
28 Apr 2024 15:21:51 EDT (-0400)
  Re: Type problems  
From: clipka
Date: 31 Mar 2011 18:13:38
Message: <4d94fc92$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.