ebpf

package
v0.0.0-...-45a9bcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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 CudaEventHeader struct {
	Type      uint32
	Pid_tgid  uint64
	Stream_id uint64
	Ktime_ns  uint64
	Cgroup    [129]byte
	Pad_cgo_0 [7]byte
}

type CudaEventType

type CudaEventType uint32

type CudaKernelLaunch

type CudaKernelLaunch struct {
	Header          CudaEventHeader
	Kernel_addr     uint64
	Shared_mem_size 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
}

type Dim3

type Dim3 struct {
	X uint32
	Y uint32
	Z uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL