NVIDIA OptiX 7.1 API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
optixPaging.h File Reference

Go to the source code of this file.

Classes

struct  PageMapping
 
struct  OptixPagingSizes
 
struct  OptixPagingOptions
 
struct  OptixPagingContext
 

Macros

#define OPTIX_PAGING_CHECK_CUDA_ERROR(err)   optixPagingCheckCudaError( err )
 

Functions

bool optixPagingCheckCudaError (cudaError_t err)
 
template<typename T >
__host__ __device__ T minimum (T lhs, T rhs)
 
template<typename T >
__host__ __device__ T maximum (T lhs, T rhs)
 
__host__ void optixPagingCreate (OptixPagingOptions *options, OptixPagingContext **context)
 
__host__ void optixPagingDestroy (OptixPagingContext *context)
 
__host__ void optixPagingCalculateSizes (unsigned int vaSizeInPages, OptixPagingSizes &sizes)
 
__host__ void optixPagingSetup (OptixPagingContext *context, const OptixPagingSizes &sizes, int numWorkers)
 
__host__ void optixPagingPullRequests (OptixPagingContext *context, unsigned int *devRequestedPages, unsigned int numRequestedPages, unsigned int *devStalePages, unsigned int numStalePages, unsigned int *devEvictablePages, unsigned int numEvictablePages, unsigned int *devNumPagesReturned)
 
__host__ void optixPagingPushMappings (OptixPagingContext *context, PageMapping *devFilledPages, int filledPageCount, unsigned int *devInvalidatedPages, int invalidatedPageCount)
 

Variables

const int MAX_WORKER_THREADS = 32
 

Macro Definition Documentation

#define OPTIX_PAGING_CHECK_CUDA_ERROR (   err)    optixPagingCheckCudaError( err )

Function Documentation

template<typename T >
__host__ __device__ T maximum ( lhs,
rhs 
)
template<typename T >
__host__ __device__ T minimum ( lhs,
rhs 
)
__host__ void optixPagingCalculateSizes ( unsigned int  vaSizeInPages,
OptixPagingSizes sizes 
)
bool optixPagingCheckCudaError ( cudaError_t  err)
inline
__host__ void optixPagingCreate ( OptixPagingOptions options,
OptixPagingContext **  context 
)
__host__ void optixPagingDestroy ( OptixPagingContext context)
__host__ void optixPagingPullRequests ( OptixPagingContext context,
unsigned int *  devRequestedPages,
unsigned int  numRequestedPages,
unsigned int *  devStalePages,
unsigned int  numStalePages,
unsigned int *  devEvictablePages,
unsigned int  numEvictablePages,
unsigned int *  devNumPagesReturned 
)
__host__ void optixPagingPushMappings ( OptixPagingContext context,
PageMapping devFilledPages,
int  filledPageCount,
unsigned int *  devInvalidatedPages,
int  invalidatedPageCount 
)
__host__ void optixPagingSetup ( OptixPagingContext context,
const OptixPagingSizes sizes,
int  numWorkers 
)

Variable Documentation

const int MAX_WORKER_THREADS = 32