A sample that demonstrate a DirectX 12 texture updated by cuda, through a cudaArray / surface2D.
float_intrinsic.h
demonstrates also how to remove Intellisense's and Resharper's "symbol not found" without interfering with nvcc, as well as adding intrinsic functions with their documentation.
- Windows 10 (1903 or more recent recommended)
- Visual Studio 2019 or 2022 (workloads: desktop dev with c++, game dev with c++)
- cuda 11.8 or 12 (https://developer.nvidia.com/cuda-downloads)
- nvidia GPU with 7.5 compute calpabilities or more (you can adjust the achitecture target in the project eventually).
Contact: mprevot@freebsd.org