Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
hip_internal.h File Reference
module nullptr
#include "realm/hip/hip_module.h"
#include <hip/hip_runtime.h>
#include "realm/operation.h"
#include "realm/threads.h"
#include "realm/circ_queue.h"
#include "realm/indexspace.h"
#include "realm/proc_impl.h"
#include "realm/mem_impl.h"
#include "realm/bgwork.h"
#include "realm/transfer/channel.h"
#include "realm/transfer/ib_memory.h"
Include dependency graph for hip_internal.h:

Go to the source code of this file.

Classes

struct  Realm::Hip::GPUInfo
 
class  Realm::Hip::GPUCompletionNotification
 
class  Realm::Hip::GPUPreemptionWaiter
 
class  Realm::Hip::GPUWorkFence
 
class  Realm::Hip::GPUWorkStart
 
class  Realm::Hip::GPUStream
 
struct  Realm::Hip::GPUStream::PendingEvent
 
class  Realm::Hip::GPUWorker
 
class  Realm::Hip::GPUEventPool
 
class  Realm::Hip::ContextSynchronizer
 
class  Realm::Hip::GPU
 
struct  Realm::Hip::GPU::HipIpcMapping
 
class  Realm::Hip::AutoGPUContext
 
class  Realm::Hip::GPUProcessor
 
struct  Realm::Hip::GPUProcessor::LaunchConfig
 
struct  Realm::Hip::GPUProcessor::CallConfig
 
struct  Realm::Hip::GPUProcessor::GPUTaskTableEntry
 
class  Realm::Hip::HipDeviceMemoryInfo
 
class  Realm::Hip::GPUFBMemory
 
class  Realm::Hip::GPUDynamicFBMemory
 
class  Realm::Hip::GPUZCMemory
 
class  Realm::Hip::GPUFBIBMemory
 
class  Realm::Hip::GPUCompletionEvent
 
class  Realm::Hip::GPURequest
 
class  Realm::Hip::GPUTransferCompletion
 
class  Realm::Hip::GPUXferDes
 
class  Realm::Hip::GPUChannel
 
class  Realm::Hip::GPUfillXferDes
 
class  Realm::Hip::GPUfillChannel
 
class  Realm::Hip::GPUreduceXferDes
 
class  Realm::Hip::GPUreduceChannel
 
class  Realm::Hip::GPUreduceRemoteChannelInfo
 
class  Realm::Hip::GPUreduceRemoteChannel
 
struct  Realm::Hip::HipIpcRequest
 
struct  Realm::Hip::HipIpcResponse
 
struct  Realm::Hip::HipIpcRelease
 
class  Realm::Hip::GPUReplHeapListener
 

Namespaces

namespace  Realm
 
namespace  Realm::Hip
 

Macros

#define CHECK_CUDART(cmd)
 
#define REPORT_HIP_ERROR(cmd, ret)
 
#define CHECK_HIP(cmd)
 

Enumerations

enum  Realm::Hip::GPUMemcpyKind { Realm::Hip::GPU_MEMCPY_HOST_TO_DEVICE , Realm::Hip::GPU_MEMCPY_DEVICE_TO_HOST , Realm::Hip::GPU_MEMCPY_DEVICE_TO_DEVICE , Realm::Hip::GPU_MEMCPY_PEER_TO_PEER }
 

Variables

HipModuleRealm::Hip::hip_module_singleton
 

Macro Definition Documentation

◆ CHECK_CUDART

#define CHECK_CUDART (   cmd)
Value:
do { \
hipError_t ret = (cmd); \
if(ret != hipSuccess) { \
fprintf(stderr, "HIP: %s = %d (%s)\n", #cmd, ret, hipGetErrorString(ret)); \
assert(0); \
exit(1); \
} \
} while(0)

◆ CHECK_HIP

#define CHECK_HIP (   cmd)
Value:
do { \
hipError_t ret = (cmd); \
if(ret != hipSuccess) \
REPORT_HIP_ERROR(#cmd, ret); \
} while(0)

◆ REPORT_HIP_ERROR

#define REPORT_HIP_ERROR (   cmd,
  ret 
)
Value:
do { \
const char *name, *str; \
name = hipGetErrorName(ret); \
str = hipGetErrorString(ret); \
fprintf(stderr, "HIP: %s = %d (%s): %s\n", cmd, ret, name, str); \
abort(); \
} while(0)