DeviceCUDA.h File Reference

#include <cuda_runtime.h>

Go to the source code of this file.

Classes

class  DeviceCUDA

Defines

#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)


Define Documentation

#define CUDA_EVENT_ID_BASE   100

Definition at line 13 of file DeviceCUDA.h.

#define CUDA_EVENT_ID_POLL_LOCAL   99

Definition at line 10 of file DeviceCUDA.h.

#define CUDA_EVENT_ID_POLL_REMOTE   98

Definition at line 7 of file DeviceCUDA.h.

#define CUDA_TRACE_LOCAL ( START,
END   ) 

Value:

do { int dev; cudaGetDevice(&dev); traceUserBracketEvent( \
       CUDA_EVENT_ID_BASE + 2 * dev + 1, START, END); } while (0)

Definition at line 17 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 11 of file DeviceCUDA.h.

Referenced by cuda_check_local_progress().

#define CUDA_TRACE_POLL_REMOTE   traceUserEvent(CUDA_EVENT_ID_POLL_REMOTE)

Definition at line 8 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)

Definition at line 14 of file DeviceCUDA.h.

Referenced by cuda_check_remote_progress().


Generated on Mon Nov 20 01:17:15 2017 for NAMD by  doxygen 1.4.7