Hi,
I have NVIDIA GPU Computing Toolkit\CUDA\v8.0 installed on my computer.
When I am trying to bind texture for memory larger than 12810241024*4, I get “invalid argument” error.
Code:
…
cudaMalloc ((void**) &state->dev_vol, vol->npix * sizeof (float));
CUDA_check_error (“Failed to allocate dev_vol.”);
cudaMemcpy (state->dev_vol, vol->img, vol->npix * sizeof (float), cudaMemcpyHostToDevice);
CUDA_check_error (“Failed to memcpy dev_vol host to device.”);
cudaBindTexture (0, tex_vol, state->dev_vol, vol->npix * sizeof (float));
CUDA_check_error (“Failed to bind state->dev_vol to texture.”);
…
Any workaround/fix for this issue?
Thanks,
Shimshon.