obs-StreamFX/source/nvidia/cuda
Michael Fabian 'Xaymar' Dirks 4d8ff417e7 nvidia-cuda: Improve usage of CUDA resources and functions
Load additional functions from CUDA and add new enumerations to support them:
* cuDevicePrimaryCtxSetFlags allows us to sched scheduling mode for the GPU.
* cuCtxgetStreamPriorityRange allows us to check which priority levels are supported.
* cuStreamCreateWithPriority allows us to create streams with non-default priority.

The scheduler mode is now set to yield so that other threads can do work when we hit an eventual stalling problem. Streams can also now be created with higher priority and different flags, if necessary. In most cases this should allow CUDA resources to execute even while the GPU is under heavy load.
2020-04-17 11:44:37 +02:00
..
nvidia-cuda-context-stack.cpp nvidia-cuda: GPL compatible CUDA library interface 2020-03-31 21:46:47 +02:00
nvidia-cuda-context-stack.hpp cmake: Fix clang support in native OBS Studio build 2020-04-05 06:50:21 +02:00
nvidia-cuda-context.cpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00
nvidia-cuda-context.hpp nvidia-cuda: GPL compatible CUDA library interface 2020-03-31 21:46:47 +02:00
nvidia-cuda-gs-texture.cpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00
nvidia-cuda-gs-texture.hpp nvidia-cuda: GPL compatible CUDA library interface 2020-03-31 21:46:47 +02:00
nvidia-cuda-memory.cpp cmake: Fix clang support in native OBS Studio build 2020-04-05 06:50:21 +02:00
nvidia-cuda-memory.hpp project: Modernize code to proper C++ 2020-04-09 00:17:25 +02:00
nvidia-cuda-stream.cpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00
nvidia-cuda-stream.hpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00
nvidia-cuda.cpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00
nvidia-cuda.hpp nvidia-cuda: Improve usage of CUDA resources and functions 2020-04-17 11:44:37 +02:00