Skip to content

Juice-Labs/TestCudaVulkanImageInterop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestCudaVulkanImageInterop

Test app for CUDA-Vulkan image interop.

CUDA writes linearly increasing values to an RGBA 32-bit float image of size 1024 x 1024. Vulkan then copies this to a device local buffer, and from there to a host visible buffer.

The test case works fine on Linux, but fails on Windows (as of 2026-02-01 using recent drivers) due to race conditions. Synchronization can be either done by syncing on the CPU or using semaphores. Both cases fail.

Tested system configurations:

  • Ubuntu 24.04, CUDA 12.6, driver 580.126.09, GCC 13.3
  • Windows 11, CUDA 12.8, driver 591.86 & 591.74 & 582.30, MSVC 2022

How to build

git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .

About

Test app for CUDA-Vulkan image interop.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 53.3%
  • CMake 33.2%
  • Cuda 13.5%