mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
nvidia/cuda: Add cuMemsetD# functions
This commit is contained in:
parent
62918f5462
commit
772d21a8b6
2 changed files with 12 additions and 0 deletions
|
@ -157,6 +157,12 @@ streamfx::nvidia::cuda::cuda::cuda() : _library()
|
|||
P_CUDA_LOAD_SYMBOL_OPT_V2(cuMemcpyHtoD);
|
||||
P_CUDA_LOAD_SYMBOL_OPT_V2(cuMemcpyHtoDAsync);
|
||||
P_CUDA_LOAD_SYMBOL_OPT_V2(cuMemHostGetDevicePointer);
|
||||
P_CUDA_LOAD_SYMBOL_V2(cuMemsetD8);
|
||||
P_CUDA_LOAD_SYMBOL(cuMemsetD8Async);
|
||||
P_CUDA_LOAD_SYMBOL_OPT_V2(cuMemsetD16);
|
||||
P_CUDA_LOAD_SYMBOL_OPT(cuMemsetD16Async);
|
||||
P_CUDA_LOAD_SYMBOL_OPT_V2(cuMemsetD32);
|
||||
P_CUDA_LOAD_SYMBOL_OPT(cuMemsetD32Async);
|
||||
|
||||
// Virtual Memory Management
|
||||
// - Not yet needed.
|
||||
|
|
|
@ -265,6 +265,12 @@ namespace streamfx::nvidia::cuda {
|
|||
P_CUDA_DEFINE_FUNCTION(cuMemcpyHtoAAsync, array_t dst, std::size_t dstOffset, void* src, std::size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemcpyHtoD, device_ptr_t dst, void* src, std::size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemcpyHtoDAsync, device_ptr_t dst, void* src, std::size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD8, device_ptr_t dst, uint8_t d, size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD8Async, device_ptr_t dst, uint8_t d, size_t byteCount, stream_t stream);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD16, device_ptr_t dst, uint16_t d, size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD16Async, device_ptr_t dst, uint16_t d, size_t byteCount, stream_t stream);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD32, device_ptr_t dst, uint32_t d, size_t byteCount);
|
||||
P_CUDA_DEFINE_FUNCTION(cuMemsetD32Async, device_ptr_t dst, uint32_t d, size_t byteCount, stream_t stream);
|
||||
|
||||
// Virtual Memory Management
|
||||
// - Not yet needed.
|
||||
|
|
Loading…
Reference in a new issue