Cooperative_groups::cluster_group _CG_HAS_CLUSTER_GROUP does not get #define'd

The macro _CG_HAS_CLUSTER_GROUP (in info.h ), which controls cluster_group functionality, does not get defined.

My environment is

VS 2022 Enterprise + CUDA 12.9 + RTX 5070 (Compute Capability12.0)

Project → CUDA C/C++ → Device ->Code Generation compute_120,sm_120

I’ve tracked

_CUDA_ARCH_ (or _CUDA_MINIMUM_ARCH_ ) => _CG_CUDA_ARCH => _CG_HAS_CLUSTER_GROUP

but I don’t know where to go from here.

1 Like

hello,I have a similar problem. May I ask if you have solved it