make use of cuda_helper.h rather than locally defined macro