Use CUDA_KERNEL_LOOP in the macro DEFINE_AND_INSTANTIATE_GPU_UNARY_FUNC
Merge pull request #275 from kloudkl/fix_kernel_for_loop_in_macro

Fix kernel for loop in macro