packages
packages copied to clipboard
blender: Enable CUDA and OptiX support
Summary
- Add CUDA as a source to avoid redistributing CUDA in a separate package.
- Add OptiX headers as a source to avoid redistributing in a separate package.
Test Plan
- Run classroom with CUDA cycles renderer enabled. Verify the GPU is being used.
- Run classroom with OptiX cycles renderer enabled. Verify the GPU is being used.
Checklist
- [x] Package was built and tested against unstable
Needs some testing with if you have the 470 driver installed or you're using nouveau. Just to verify things don't explode.
I cannot test it, but it looks fine to me judging by the pspec_x86_64.xml.
YOLO
Hmm generating an abi report fails: failed to open 'kernel_sm_50.cubin', reason: 'mismatched ELF version 'EV_CURRENT+122' in record at byte 0x0'
I think that fail is expected, since CUDA binaries are not ELF binaries.
I think that fail is expected, since CUDA binaries are not ELF binaries.
Problem is it kills abi-wizard and no updated abi_* files get generated.
Issue is coming from one of these: https://github.com/search?q=repo%3ADataDrake%2Fabi-wizard%20failed%20to%20open&type=code