As the title says, if I use any arch flag that is less, one of the “deprecated” flags, printf will work in device code, but in 52 (and other non-deprecated flags; i.e. sm_##) will not display even when using cudaSync… functions
Could you please follow the guide here to report a ticket to us ? Better with reproducer that we can try locally . Getting Help with CUDA NVCC Compiler Thanks.