Vship icon indicating copy to clipboard operation
Vship copied to clipboard

Fails to build with CUDA 13

Open adworacz opened this issue 1 year ago • 2 comments

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

adworacz avatar Aug 08 '25 20:08 adworacz

I removed these 2 lines since there is no alternatives. Tell me if it works now.

Line-fr avatar Aug 13 '25 13:08 Line-fr

Okay, testing now.

Update: Built like a charm! https://copr.fedorainfracloud.org/coprs/flawlessmedia/av-rpm/build/9410621/

Thanks for the fix!

adworacz avatar Aug 13 '25 18:08 adworacz