GVM User Suite
User tools for the GVM open source project.
|
Resource for managing NVIDIA kernel module objects. More...
#include <resources.h>
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 NvResource * | next |
Next child on the level. More... | |
struct NvResource * | child |
Child of the resource. More... | |
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.
struct NvResource* NvResource::child |
Child of the resource.
Definition at line 49 of file resources.h.
void* NvResource::class_info |
Class info for the resource.
Definition at line 47 of file resources.h.
uint32_t NvResource::client |
All resources require a client/root.
Definition at line 43 of file resources.h.
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.
struct NvResource* NvResource::next |
Next child on the level.
Definition at line 48 of file resources.h.
uint32_t NvResource::object |
Object of the resource.
Definition at line 45 of file resources.h.
uint32_t NvResource::parent |
Parent of the resource.
Definition at line 44 of file resources.h.
uint32_t NvResource::rm_class |
Class of the resource.
Definition at line 46 of file resources.h.