-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
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
What is the meaning of the gpuparams (64,256,1,1,1,1) ? #85
Comments
The register CUDA kernel will be invoked twice (2 stages) and we are providing the GPU dimensions for each stage (64, 256, 1, 1, 1, 1). In this case, it means for the first stage, schedule the kernel with a That particular kernel is expected to be executed in two stages Ref: https://github.com/IBMSparkGPU/GPUEnabler/blob/master/examples/src/main/resources/SparkGPUExamples.cu#L29 So Hope it helps. |
Thanks, but I have another question now ...if 64 means blockDim.x ,then the number of the threads of a block are 6411 =64 ,and threadsPerBlock.x is 256 , not 64 , it doesn't make sense... |
To be clear, Number of Blocks required is Refer to this PR for more clarity, #60 |
thanks a lot ,it helps. |
Hello,i am studying the codes on the test examples beneath the gpuenabler dirctory,and I can't understand the meaning of the number like (64,256,1,...) ? Could you please explain this?
The text was updated successfully, but these errors were encountered: