Skip to content

Commit

Permalink
Removed errors, but warnings presist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooorgen committed Jun 27, 2023
1 parent 7e54dd7 commit d09bec0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/GpuAbstraction.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<<<blocks, threads>>> (__VA_ARGS__)
#define gpuLaunchKernelSharedMem(kernel, blocks, threads, sharedMem, ...) kernel<<<blocks, threads, sharedMem>>>(__VA_ARGS__)
Expand Down

0 comments on commit d09bec0

Please sign in to comment.