Open Deep Learning API
Loading...
Searching...
No Matches
Data Fields
odla_resource_location Struct Reference

Resource location. More...

#include <odla_compute.h>

Data Fields

odla_resource_location_type location_type
 
const void * location
 
odla_size_t size
 

Detailed Description

Resource location.

For location_type of ODLA_PATH or ODLA_URI, location points to a null-terminated string and size is optional. For location_type of ODLA_MEMORY, location points to the memory address and size represents the length of the memory chunk.

Definition at line 93 of file odla_compute.h.

Field Documentation

◆ location

const void* odla_resource_location::location

Definition at line 95 of file odla_compute.h.

◆ location_type

odla_resource_location_type odla_resource_location::location_type

Definition at line 94 of file odla_compute.h.

◆ size

odla_size_t odla_resource_location::size

Definition at line 96 of file odla_compute.h.


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