Documentation ¶
Index ¶
Constants ¶
View Source
const CudaEventTypeKernelLaunch = 0x0
View Source
const CudaEventTypeMemory = 0x1
View Source
const CudaEventTypeSetDevice = 0x3
View Source
const CudaEventTypeSync = 0x2
View Source
const CudaMemAlloc = 0x0
View Source
const CudaMemFree = 0x1
View Source
const SizeofCudaEventHeader = 0xa8
View Source
const SizeofCudaKernelLaunch = 0xd0
View Source
const SizeofCudaMemEvent = 0xc0
View Source
const SizeofCudaSetDeviceEvent = 0xb0
View Source
const SizeofCudaSync = 0xa8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CudaEventHeader ¶
type CudaEventType ¶
type CudaEventType uint32
type CudaKernelLaunch ¶
type CudaKernelLaunch struct { Header CudaEventHeader Kernel_addr uint64 Grid_size Dim3 Block_size Dim3 }
type CudaMemEvent ¶
type CudaMemEvent struct { Header CudaEventHeader Size uint64 Addr uint64 Type uint32 Pad_cgo_0 [4]byte }
type CudaMemEventType ¶
type CudaMemEventType uint32
type CudaSetDeviceEvent ¶
type CudaSetDeviceEvent struct { Header CudaEventHeader Device int32 Pad_cgo_0 [4]byte }
type CudaSync ¶
type CudaSync struct {
Header CudaEventHeader
}
Click to show internal directories.
Click to hide internal directories.