I updated LuxCoreUI to show OpenCL/CUDA related options only if OpenCL/CUDA is available at runtime.
Unified executable (for CPU-only, OpenCL and CUDA)
Re: Unified executable (for CPU-only, OpenCL and CUDA)
In process of updating deps and azure files .... seems luxcore only needs libcuda.dylib and libnvrtc.dylib ...
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: Unified executable (for CPU-only, OpenCL and CUDA)
Done
No access to secure file for me .. should i merge ? otherwise no check possible. maybe you can check ..
https://github.com/LuxCoreRender/LuxCore/pull/381
No access to secure file for me .. should i merge ? otherwise no check possible. maybe you can check ..
https://github.com/LuxCoreRender/LuxCore/pull/381
Last edited by u3dreal on Fri May 29, 2020 12:37 pm, edited 1 time in total.
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: Unified executable (for CPU-only, OpenCL and CUDA)
Don't you need only libnvrtc.dylib ? Isn't libcuda.dylib already installed on the system by the driver ?
P.S. don't forget also the nvrtc-builtin DLL too.
Re: Unified executable (for CPU-only, OpenCL and CUDA)
Will have to check ..
OK which one is needed ?? libnvrtc-buildins.dylib or libnvrtc-buildins.10.1.dylib
Are you sure ??? if so i will have to add the path for libnvrtc-buildins also somewhere in the code ..
I checked with otool ... libtool for osx ... libcuda or libnvrtc do not depend on libnvrtc-buildins .. ?
I think libcuda is not included with the driver since it is in Developer folder ... which does not get created when installing just the driver
when could i notice that buildins is missing ?
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: Unified executable (for CPU-only, OpenCL and CUDA)
It is explained here: viewtopic.php?f=5&t=2201&start=20#p23231
You need to see both:
You need to see both:
Code: Select all
CUDA support: enabled
CUDA support: available
Re: Unified executable (for CPU-only, OpenCL and CUDA)
Ok then everything is fine now. I will commit.
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: Unified executable (for CPU-only, OpenCL and CUDA)
Wow new azure record 36min So cool we just have to compile once .. all seems fine will test when linux and windows finished.
We should also update this
i use bison 3.6 now .. so it should be no problem on my side
We should also update this
Code: Select all
[ 88%] [BISON][lux_parser] Building parser with bison 3.6.2
/Users/runner/runners/2.168.2/work/1/s/src/luxcore/luxparser/luxparse.y:20.1-35: warning: deprecated directive: ‘%name-prefix "luxcore_parserlxs_yy"’, use ‘%define api.prefix {luxcore_parserlxs_yy}’ [-Wdeprecated]
20 | %name-prefix "luxcore_parserlxs_yy"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %define api.prefix {luxcore_parserlxs_yy}
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: Unified executable (for CPU-only, OpenCL and CUDA)
The GPU devices are actually available, I think the two definitions are not passed on from cmake to the build stage:
Code: Select all
CMake Warning:
Manually-specified variables were not used by the project:
LUXRAYS_DISABLE_CUDA
LUXRAYS_DISABLE_OPENCL
Re: Unified executable (for CPU-only, OpenCL and CUDA)
I have updated the azure pipeline files for Windows and it's running now. I'll check the binaries as soon as they are available.
About Linux: is it enough to build only the version with neither "opencl" nor "cuda" in the directory name?
Or do you need to modify the build scripts in the "LinuxCompile" repo?
About Linux: is it enough to build only the version with neither "opencl" nor "cuda" in the directory name?
Or do you need to modify the build scripts in the "LinuxCompile" repo?