We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found a strange bug. Let me consider the simplest kernel
__global__ void makezeros( float4* spin ) { int blockId = blockIdx.x + blockIdx.y * gridDim.x + gridDim.x * gridDim.y * blockIdx.z; int gid = blockId * (blockDim.x * blockDim.y) + (threadIdx.y * blockDim.x) + threadIdx.x; spin[gid].x = 0.001; }
It works absolutely perfect. However, it is enough to add a square root operation
__global__ void makezeros( float4* spin ) { int blockId = blockIdx.x + blockIdx.y * gridDim.x + gridDim.x * gridDim.y * blockIdx.z; int gid = blockId * (blockDim.x * blockDim.y) + (threadIdx.y * blockDim.x) + threadIdx.x; float empty = sqrt(3.3f); spin[gid].x = 0.001; }
and the, the array spin will not be affected. However, It doesn't show any errors. It looks like that this kernel code was not even called.
spin
The text was updated successfully, but these errors were encountered:
Found an error code. It is
PTX JIT compilation failed Error code 78
Every time at sqrt() function or others
sqrt()
Sorry, something went wrong.
I have to verify it with the latest cling version. The container is highly outdated.
My assumption: The path to the CUDA std library is not set for the device compiler.
No branches or pull requests
I found a strange bug. Let me consider the simplest kernel
It works absolutely perfect. However, it is enough to add a square root operation
and the, the array
spin
will not be affected. However, It doesn't show any errors.It looks like that this kernel code was not even called.
The text was updated successfully, but these errors were encountered: