Cleaned up double-defined macro from last commit

This commit is contained in:
Jeremy Barnes 2016-01-10 22:44:45 -05:00
parent 403a7cb6c3
commit 91678f489a

View File

@ -238,10 +238,6 @@ struct GpuDevice {
};
#define LAUNCH_CUDA_KERNEL(kernel, gridsize, blocksize, sharedmem, device, ...) \
(kernel) <<< (gridsize), (blocksize), (sharedmem), (device).stream() >>> (__VA_ARGS__); \
assert(cudaGetLastError() == cudaSuccess);
#ifndef __CUDA_ARCH__
#define LAUNCH_CUDA_KERNEL(kernel, gridsize, blocksize, sharedmem, device, ...) \
(kernel) <<< (gridsize), (blocksize), (sharedmem), (device).stream() >>> (__VA_ARGS__); \