ebpf

package
v0.0.0-...-521bc73 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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 CudaEventTypeSync = 0x2
View Source
const CudaMemAlloc = 0x0
View Source
const CudaMemFree = 0x1
View Source
const SizeofCudaEventHeader = 0x20
View Source
const SizeofCudaKernelLaunch = 0x48
View Source
const SizeofCudaMemEvent = 0x38
View Source
const SizeofCudaSync = 0x20

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
}

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