I would like to, but unfortunately ANY variable defined as shared or constant produces the exact same errors… i tried to exclude the more code possible, but i noticed that if there is even ONE “normal” error (like symbol not found etc) these errors won’t show up.
So i should build a working but stripped down version of this, and it’s really annoying.
Yeah i run 190.62 WHQL.
Maybe there are some conflicts with the old CUDA 2.2? I disinstalled it, but i was previously using CUDA x86 on my x64 Windows… i noticed that while CUDA 2.2 had a version-specific SDK, CUDA 2.3 contains both x86 and x64.
Could this be a problem, given that i try to use the first on the second?
struct __align__(16) cudaMatrix4
a11, a12, a13, a14,
a21, a22, a23, a24,
a31, a32, a33, a34,
a41, a42, a43, a44;
__constant__ cudaMatrix4 worldViewProj;
__constant__ cudaMatrix4 worldViewProjIT;
__constant__ cudaMatrix4 world;
__constant__ cudaMatrix4 worldIT;
__constant__ cudaMatrix4 worldView;
__constant__ cudaMatrix4 worldViewIT;
__global__ void vertexKernel
Does cause error with the constant definitions… and there’s like nothing else in the .cu file.