Hi!
Compiling the attached code with the command “nvcc -c ptxas_bug_demo.cu” on SuSE-10.2 (64bit) gives the following message:
nvcc error : ‘ptxas’ died due to signal 11 (Invalid memory reference)
Somebody doesn’t seem to like nested structs here…
My system information:
Linux mark 2.6.18.8-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2006 NVIDIA Corporation
Built on Wed_Nov__7_03:26:42_PST_2007
Cuda compilation tools, release 1.1, V0.2.1221
As a workaround, I will try to avoid nested structs for now. It compiles fine in the 32bit version, though I didn’t test it, since I only develop for the 64bit platform.
Kind regards,
Markus
ptxas_bug_demo.tar.gz (268 Bytes)