/otk-memory

Memory allocators for the OptiX Toolkit

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Memory allocators - OptiX Toolkit

This repository is a submodule of the OptiX Toolkit.

For recent changes, see the CHANGELOG.

It contains three libraries:

  • Error is a header-only library that contains a mechanism for mapping error codes to C++ exceptions. The headers are included from <OptiXToolkit/Error>, see ErrorCheck.h for details.
  • Memory contains a number of memory allocators that are used in the Demand Loading library, which might also be useful in client applications.
  • OptiXMemory is a header-only library that contains memory related helper classes (ProgramGroupDescBuilder, BuildInputBuilder, Record<T>, and SyncRecord<T>) for OptiX applications.