30 #ifndef __optix_optix_cuda_interop_h__
31 #define __optix_optix_cuda_interop_h__
35 #if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64)
36 typedef unsigned long long CUdeviceptr;
38 typedef unsigned int CUdeviceptr;
RTresult
Definition: optix_declarations.h:236
RTresult RTAPI rtBufferCreateForCUDA(RTcontext context, unsigned int bufferdesc, RTbuffer *buffer)
Creates a new buffer object that will later rely on user-side CUDA allocation.
RTresult RTAPI rtBufferGetDevicePointer(RTbuffer buffer, unsigned int optix_device_number, void **device_pointer)
Gets the pointer to the buffer's data on the given device.
struct RTbuffer_api * RTbuffer
Definition: optix_host.h:69
RTresult RTAPI rtBufferMarkDirty(RTbuffer buffer)
Sets a buffer as dirty.
RTresult RTAPI rtBufferSetDevicePointer(RTbuffer buffer, unsigned int optix_device_number, CUdeviceptr device_pointer)
Sets the pointer to the buffer's data on the given device.
struct RTcontext_api * RTcontext
Definition: optix_host.h:72