Hi Freesurfer experts,
Compiling FreeSurfer with GPU support failed with the error message which is added to the end of this email.
The current build environment is as follows: GeForce GTX 690 CUDA Toolkit 4.2 CentOS 6.3
I wonder if there are any specific requirements for building CUDA-enabled FreeSurfer. Any information/help would be appreciated.
Thanks, Akio
===== em_register_cuda.cu(347): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(350): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(353): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(357): error: calling a host function("TransformGenerator::TransformGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
4 errors detected in the compilation of ...
On Tue, Jul 17, 2012 at 4:54 AM, Akio Yamamoto yamamoto@tkl.iis.u-tokyo.ac.jp wrote:
Compiling FreeSurfer with GPU support failed with the error message which is added to the end of this email.
The current build environment is as follows: GeForce GTX 690 CUDA Toolkit 4.2 CentOS 6.3
I wonder if there are any specific requirements for building CUDA-enabled FreeSurfer. Any information/help would be appreciated.
Thanks, Akio
===== em_register_cuda.cu(347): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(350): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(353): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
em_register_cuda.cu(357): error: calling a host function("TransformGenerator::TransformGenerator") from a __device__/__global__ function("TransformLogps") is not allowed
4 errors detected in the compilation of ...
That looks like I forgot to put an attribute on something, and the compiler is now much pickier about those. Sorry, but I don't have a machine to reproduce that on.
Richard
freesurfer@nmr.mgh.harvard.edu