From b2d6aa91367c28e1ea014bda1ec9324c8a12a52a Mon Sep 17 00:00:00 2001 From: Jorgen Date: Tue, 27 Jun 2023 14:36:58 +0200 Subject: [PATCH] Testing syntax changes --- epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h b/epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h index 391a5ea4ac..be8c4b15bc 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 checkGpu( hipPeekAtLastError() ) + #define gpuGetErrorString checkGpu( 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 checkGpu( hipDeviceSynchronize() ) + #define gpuDeviceReset checkGpu( hipDeviceReset() ) #define gpuLaunchKernel( kernel, blocks, threads, ...) kernel<<>> (__VA_ARGS__) #define gpuLaunchKernelSharedMem(kernel, blocks, threads, sharedMem, ...) kernel<<>>(__VA_ARGS__)