Search found 209 matches

by acasta69
Fri May 29, 2020 4:10 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

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...
by acasta69
Fri May 29, 2020 4:05 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

Defining LUXRAYS_DISABLE_CUDA and LUXRAYS_DISABLE_OPENCL seems to have no effect: LuxCoreUI still allows to choose OCL render engines. I'll try to check why this happens. Yes but it should have no device available at all for the rendering. I guess it could be removed from the menu too. I updated Lu...
by acasta69
Thu May 28, 2020 8:37 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

What is so bad about that ? On Linux you can use NVIDIA and AMD GPU together ... i plan to do that ... :D What dlls do you need to copy ?? Well, nothing so bad I guess... ;) Only, it's not the expected behaviour... The needed DLLs on Windows are nvrtc64_101_0.dll and nvrtc-builtins64_101.dll . They...
by acasta69
Thu May 28, 2020 7:27 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

The unified executables seem to work fine on Windows, both standalone and in blender.

Defining LUXRAYS_DISABLE_CUDA and LUXRAYS_DISABLE_OPENCL seems to have no effect: LuxCoreUI still allows to choose OCL render engines. I'll try to check why this happens.
by acasta69
Thu May 28, 2020 3:11 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

I think that the NVRTC DLLs are still needed, they are not shipped with the drivers.
by acasta69
Wed May 27, 2020 8:13 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

The work should be now complete, @Acasta69 and @u3dreal can you check it works on Windows and MacOS (stand alone and inside Blender) ? Quick test on Windows (LuxcoreUI only): CUDA ok, OpenCL crashes while compiling kernels Looking at the new sources, I thought it was wrong to have LUXRAYS_DISABLE_O...
by acasta69
Wed May 27, 2020 1:56 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

The work should be now complete, @Acasta69 and @u3dreal can you check it works on Windows and MacOS (stand alone and inside Blender) ? Quick test on Windows (LuxcoreUI only): CUDA ok, OpenCL crashes while compiling kernels: Capture.png I cannot investigate further at the moment, will try later. - y...
by acasta69
Fri May 22, 2020 12:45 pm
Forum: Development
Topic: Windows Build FAILED
Replies: 107
Views: 14580

Re: Windows Build FAILED

@Acasta69, I'm starting to think that compilation problem on Azure is due to the use of a Linux OpenCL SDK on Windows. The error seems to suggest that and the compilation on Windows works fine here. You should check the OpenCL headers, the definition of "cl_ulong" type should be like: typedef unsig...
by acasta69
Fri May 22, 2020 7:53 am
Forum: Development
Topic: Windows Build FAILED
Replies: 107
Views: 14580

Re: Windows Build FAILED

So where are caches stored, so I can clear/ delete all & make proper comparison? For LuxCore 2.3 it should be: C:\Users\<username>\AppData\Local\Temp\kernel_cache For v2.4 there are two locations: C:\Users\<username>\AppData\Local\Temp\cuda_kernel_cache C:\Users\<username>\AppData\Local\Temp\ocl_ke...
by acasta69
Thu May 21, 2020 6:53 pm
Forum: Development
Topic: Unified executable (for CPU-only, OpenCL and CUDA)
Replies: 62
Views: 8650

Re: Unified executable (for CPU-only, OpenCL and CUDA)

Dade wrote:
Thu May 21, 2020 5:52 pm
Not for the moment, for the first test, use OpenCL and CUDA enabled.
Everything's ok with this.