| 376 | |
| 377 | #if FALCOR_HAS_CUDA |
| 378 | cuda_utils::ExternalMemory* Buffer::getCudaMemory() const |
| 379 | { |
| 380 | if (!mCudaMemory) |
| 381 | mCudaMemory = make_ref<cuda_utils::ExternalMemory>(ref<Resource>(const_cast<Buffer*>(this))); |
| 382 | return mCudaMemory.get(); |
| 383 | } |
| 384 | #endif |
| 385 | |
| 386 | inline pybind11::ndarray<pybind11::numpy> buffer_to_numpy(const Buffer& self) |
no test coverage detected