DriveWorks SDK Reference

| 0.6.67 Release

DynamicMemory.h File Reference

Detailed Description

NVIDIA DriveWorks API: Core Warp Primitives

Description: This file defines DW core warp primitives.

Definition in file DynamicMemory.h.

Go to the source code of this file.

Typedefs

typedef void(* dwDynamicMemoryFreeCallback) (void *addr, void *userData)
 
typedef void *(* dwDynamicMemoryMallocCallback) (size_t sizeInByte, void *userData)
 

Enumerations

enum  dwRuntimeMode {
  DW_MODE_INIT = 0x0000,
  DW_MODE_RUNTIME = 0x0001,
  DW_MODE_CLEANUP = 0x0002
}
 Context runtime mode. More...
 

Functions

DW_API_PUBLIC dwStatus dwDynamicMemory_getCallbacks (dwDynamicMemoryMallocCallback *mallocCallback, dwDynamicMemoryFreeCallback *freeCallback, void **userData)
 Get callbacks and user-defined general pointer previously passed in dwDynamicMemory_initialize. More...
 
DW_API_PUBLIC dwStatus dwDynamicMemory_initialize (dwDynamicMemoryMallocCallback mallocCallback, dwDynamicMemoryFreeCallback freeCallback, void *userData)
 Initialize dwDynamicMemory with user-defined callback for user space memory allocations. More...
 
DW_API_PUBLIC dwStatus dwDynamicMemory_release ()
 Release dwDynamicMemory. More...
 
DW_API_PUBLIC dwStatus dwDynamicMemory_updateRuntimeMode (dwRuntimeMode newMode)
 Switch runtime mode for all Driveworks SDK. More...
 
DW_API_PUBLIC void * memcpy_opt (void *__restrict destination, const void *__restrict source, size_t num)
 Memory copy of virtual process memory. More...