Skip to content

Struct cuvis_cuda_mem_view_t

ClassList > cuvis_cuda_mem_view_t

More...

  • #include <cuvis.h>

Public Attributes

Type Name
int32_t device_ordinal
const void * device_ptr
uint64_t size

Detailed Description

Raw device pointer + size + device for wrapping in-process (e.g. as a torch tensor via cuda_array_interface / DLPack). Does NOT create an IPC handle. The device_ptr is read-only from the SDK's side; external code that maps it may still write the memory.

Public Attributes Documentation

variable device_ordinal

int32_t cuvis_cuda_mem_view_t::device_ordinal;

variable device_ptr

const void* cuvis_cuda_mem_view_t::device_ptr;

variable size

uint64_t cuvis_cuda_mem_view_t::size;


The documentation for this class was generated from the following file docs/_api_sources/cuvis.h