NAMD
Classes | Macros
DeviceCUDA.h File Reference
#include <cuda_runtime.h>

Go to the source code of this file.

Classes

class  DeviceCUDA
 

Macros

#define CUDA_PME_SPREADCHARGE_EVENT   90
 
#define CUDA_PME_GATHERFORCE_EVENT   91
 
#define CUDA_BONDED_KERNEL_EVENT   92
 
#define CUDA_DEBUG_EVENT   93
 
#define CUDA_NONBONDED_KERNEL_EVENT   94
 
#define CUDA_GBIS1_KERNEL_EVENT   95
 
#define CUDA_GBIS2_KERNEL_EVENT   96
 
#define CUDA_GBIS3_KERNEL_EVENT   97
 
#define CUDA_EVENT_ID_POLL_REMOTE   98
 
#define CUDA_TRACE_POLL_REMOTE   traceUserEvent(CUDA_EVENT_ID_POLL_REMOTE)
 
#define CUDA_EVENT_ID_POLL_LOCAL   99
 
#define CUDA_TRACE_POLL_LOCAL   traceUserEvent(CUDA_EVENT_ID_POLL_LOCAL)
 
#define CUDA_EVENT_ID_BASE   100
 
#define CUDA_TRACE_REMOTE(START, END)
 
#define CUDA_TRACE_LOCAL(START, END)
 

Macro Definition Documentation

#define CUDA_BONDED_KERNEL_EVENT   92

Definition at line 9 of file DeviceCUDA.h.

#define CUDA_DEBUG_EVENT   93

Definition at line 10 of file DeviceCUDA.h.

#define CUDA_EVENT_ID_BASE   100

Definition at line 22 of file DeviceCUDA.h.

#define CUDA_EVENT_ID_POLL_LOCAL   99

Definition at line 19 of file DeviceCUDA.h.

#define CUDA_EVENT_ID_POLL_REMOTE   98

Definition at line 16 of file DeviceCUDA.h.

#define CUDA_GBIS1_KERNEL_EVENT   95

Definition at line 12 of file DeviceCUDA.h.

#define CUDA_GBIS2_KERNEL_EVENT   96

Definition at line 13 of file DeviceCUDA.h.

#define CUDA_GBIS3_KERNEL_EVENT   97

Definition at line 14 of file DeviceCUDA.h.

#define CUDA_NONBONDED_KERNEL_EVENT   94

Definition at line 11 of file DeviceCUDA.h.

#define CUDA_PME_GATHERFORCE_EVENT   91

Definition at line 8 of file DeviceCUDA.h.

Referenced by ComputePmeCUDADevice::gatherForceDone().

#define CUDA_PME_SPREADCHARGE_EVENT   90

Definition at line 7 of file DeviceCUDA.h.

Referenced by ComputePmeCUDADevice::gatherForce().

#define CUDA_TRACE_LOCAL (   START,
  END 
)
Value:
do { int dev; cudaGetDevice(&dev); traceUserBracketEvent( \
CUDA_EVENT_ID_BASE + 2 * dev + 1, START, END); } while (0)
#define CUDA_EVENT_ID_BASE
Definition: DeviceCUDA.h:22

Definition at line 26 of file DeviceCUDA.h.

Referenced by cuda_check_local_progress(), and cuda_check_progress().

#define CUDA_TRACE_POLL_LOCAL   traceUserEvent(CUDA_EVENT_ID_POLL_LOCAL)

Definition at line 20 of file DeviceCUDA.h.

Referenced by cuda_check_local_progress().

#define CUDA_TRACE_POLL_REMOTE   traceUserEvent(CUDA_EVENT_ID_POLL_REMOTE)

Definition at line 17 of file DeviceCUDA.h.

Referenced by cuda_check_progress(), and cuda_check_remote_progress().

#define CUDA_TRACE_REMOTE (   START,
  END 
)
Value:
do { int dev; cudaGetDevice(&dev); traceUserBracketEvent( \
CUDA_EVENT_ID_BASE + 2 * dev, START, END); } while (0)
#define CUDA_EVENT_ID_BASE
Definition: DeviceCUDA.h:22

Definition at line 23 of file DeviceCUDA.h.

Referenced by cuda_check_remote_progress().