diff --git a/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h b/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h index 07a9fe1f62..782cb96e8c 100644 --- a/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h +++ b/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h @@ -59,8 +59,8 @@ //-------------------------------------------------------------------------- #define gpuError_t hipError_t - #define gpuPeekAtLastError() checkGpu( hipPeekAtLastError ) - #define gpuGetErrorString() checkGpu( hipGetErrorString ) + #define gpuPeekAtLastError hipPeekAtLastError + #define gpuGetErrorString hipGetErrorString #define gpuSuccess hipSuccess #define gpuMallocHost(ptr, size) checkGpu( hipHostMalloc(ptr, size) ) // HostMalloc better @@ -75,8 +75,8 @@ #define gpuFreeHost(ptr) checkGpu( hipHostFree(ptr) ) #define gpuSetDevice hipSetDevice - #define gpuDeviceSynchronize() checkGpu( hipDeviceSynchronize ) - #define gpuDeviceReset() checkGpu( hipDeviceReset ) + #define gpuDeviceSynchronize hipDeviceSynchronize + #define gpuDeviceReset hipDeviceReset #define gpuLaunchKernel( kernel, blocks, threads, ...) kernel<<>> (__VA_ARGS__) #define gpuLaunchKernelSharedMem(kernel, blocks, threads, sharedMem, ...) kernel<<>>(__VA_ARGS__)