cuda-samples
cuda-samples copied to clipboard
[Bug?] /usr/local/cuda/include/cub/agent/agent_batch_memcpy.cuh(896): error: expected an identifier
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