rustnn C and C++ API
WebNN graph construction and execution
Loading...
Searching...
No Matches
RustnnTrtxOptions Struct Reference

C representation of [TrtxOptions]. More...

#include <rustnn.h>

Public Attributes

bool engine_caching
 Cache compiled engines.
 
bool runtime_cache
 Cache runtime state.
 
bool fail_on_cache_miss
 Fail if a compiled engine is absent from the cache.
 
bool cuda_graphs
 Enable CUDA graph execution.
 

Detailed Description

C representation of [TrtxOptions].

Definition at line 295 of file rustnn.h.

Member Data Documentation

◆ cuda_graphs

bool RustnnTrtxOptions::cuda_graphs

Enable CUDA graph execution.

Definition at line 311 of file rustnn.h.

◆ engine_caching

bool RustnnTrtxOptions::engine_caching

Cache compiled engines.

Definition at line 299 of file rustnn.h.

◆ fail_on_cache_miss

bool RustnnTrtxOptions::fail_on_cache_miss

Fail if a compiled engine is absent from the cache.

Definition at line 307 of file rustnn.h.

◆ runtime_cache

bool RustnnTrtxOptions::runtime_cache

Cache runtime state.

Definition at line 303 of file rustnn.h.


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