Vship
Vship copied to clipboard
Fails to build with CUDA 13
nvcc -x cu src/vapoursynthPlugin.cpp -std=c++17 -arch=all -I "/builddir/build/BUILD/Vship-3.0.1/include" -shared -Xcompiler -fPIC -o "/builddir/build/BUILD/Vship-3.0.1/vship.so"
src/vapoursynthPlugin.cpp(45): error: class "cudaDeviceProp" has no member "clockRate"
ss << "ClockRate: " << ((float)devattr.clockRate)/1000000 << " Ghz" << std::endl;
^
src/vapoursynthPlugin.cpp(50): error: class "cudaDeviceProp" has no member "memoryClockRate"
ss << "MemoryClockRate: " << ((float)devattr.memoryClockRate)/1000000 << " Ghz" << std::endl;
^
2 errors detected in the compilation of "src/vapoursynthPlugin.cpp".
make: *** [Makefile:43: buildcudaall] Error 2
Full build log: https://download.copr.fedorainfracloud.org/results/flawlessmedia/av-rpm/epel-9-x86_64/09390170-vapoursynth-plugin-vship-cuda/builder-live.log.gz
I removed these 2 lines since there is no alternatives. Tell me if it works now.
Okay, testing now.
Update: Built like a charm! https://copr.fedorainfracloud.org/coprs/flawlessmedia/av-rpm/build/9410621/
Thanks for the fix!