GVM User Suite
User tools for the GVM open source project.
Data Structures | Functions
configs.h File Reference
#include <gpu/mdev.h>
#include <stdlib.h>
Include dependency graph for configs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GpuConfig
 Structure to handle GPU Configurations. More...
 
struct  GpuConfigs
 Structure to provide a list of GPU configurations. More...
 

Functions

struct GpuConfigs get_configs (const char *name)
 Parses a config file. More...
 

Function Documentation

◆ get_configs()

struct GpuConfigs get_configs ( const char *  name)

Parses a config file.

This code parses a config file and produces a GpuConfig object.

Parameters
name- Name of the config file.
Returns
A gpu config file, which tells us what mdevs to create.

Definition at line 29 of file configs.c.

Here is the caller graph for this function: