GVM User Suite
User tools for the GVM open source project.
Data Fields
NvResource Struct Reference

Resource for managing NVIDIA kernel module objects. More...

#include <resources.h>

Collaboration diagram for NvResource:
Collaboration graph
[legend]

Data Fields

int fd
 
uint32_t client
 All resources require a client/root. More...
 
uint32_t parent
 Parent of the resource. More...
 
uint32_t object
 Object of the resource. More...
 
uint32_t rm_class
 Class of the resource. More...
 
void * class_info
 Class info for the resource. More...
 
struct NvResourcenext
 Next child on the level. More...
 
struct NvResourcechild
 Child of the resource. More...
 

Detailed Description

Resource for managing NVIDIA kernel module objects.

The NVIDIA kernel module implements it's own class based system to interact with resources inside the kernel and speaking to the GPU. This is an incomplete class which lacks a lot of the different classes that can be shown. We are currently in the process of documenting and providing a tool for interacting with the different allowed classes. This tool is available on the Arc-Compute github and there is already extensive documentation efforts occuring on OpenMdev.

Definition at line 39 of file resources.h.

Field Documentation

◆ child

struct NvResource* NvResource::child

Child of the resource.

Definition at line 49 of file resources.h.

◆ class_info

void* NvResource::class_info

Class info for the resource.

Definition at line 47 of file resources.h.

◆ client

uint32_t NvResource::client

All resources require a client/root.

Definition at line 43 of file resources.h.

◆ fd

int NvResource::fd

Some physical resources require open file descriptors for the duration of the resource's lifecycle.

Definition at line 40 of file resources.h.

◆ next

struct NvResource* NvResource::next

Next child on the level.

Definition at line 48 of file resources.h.

◆ object

uint32_t NvResource::object

Object of the resource.

Definition at line 45 of file resources.h.

◆ parent

uint32_t NvResource::parent

Parent of the resource.

Definition at line 44 of file resources.h.

◆ rm_class

uint32_t NvResource::rm_class

Class of the resource.

Definition at line 46 of file resources.h.


The documentation for this struct was generated from the following file: