Skip to content
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

[Bug?] /usr/local/cuda/include/cub/agent/agent_batch_memcpy.cuh(896): error: expected an identifier #301

Open
nanmi opened this issue Sep 30, 2024 · 0 comments

Comments

@nanmi
Copy link

nanmi commented Sep 30, 2024

Question:

/usr/local/cuda/include/cub/agent/agent_batch_memcpy.cuh(896): error: expected an identifier
                                         32
                                          ^

Code location:

constexpr uint32_t WARPS_PER_BLOCK = BLOCK_THREADS / CUB_PTX_WARP_THREADS;

I think the problem may be caused by the conflict between const variable WARPS_PER_BLOCK and macro definition #define WARPS_PER_BLOCK = 32

so, WARPS_PER_BLOCK modify to WARPS_PER_BLOCK_,
I have resolved the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant