PATHGPU with OpenCL and CUDA support
Re: PATHGPU with OpenCL and CUDA support
OMG... I have no words... I’m gonna cry... thanks...
Re: PATHGPU with OpenCL and CUDA support
It is awesome))
Re: PATHGPU with OpenCL and CUDA support
I gave it a try and...
On my system OpenCL runs about 9% faster than Cuda.
On my system OpenCL runs about 9% faster than Cuda.
Re: PATHGPU with OpenCL and CUDA support
I don't know if this is a bad or a good thing But I'm expecting some proper perf. improvements once Dade starts adding cuda specific stuff.
Re: PATHGPU with OpenCL and CUDA support
maybe this will vary from card to card also that run on 2070 super and you probably on GTX 970. but as Dade say he assume there is more performance left.
Re: PATHGPU with OpenCL and CUDA support
I'm fixing a lot of stuff and CUDA has a lot of settings and configurations for each generation of GPU. Said that, I have now done more tests and the speedup is quite consistent with my RTX.
P.S. are you selecting only the CUDA device, right ? NVIDIA GPUs are now listed 2 times, one as OpenCL device and one as CUDA. I'm also doing the test with 0 CPU threads.
Re: PATHGPU with OpenCL and CUDA support
Yes, I tried selecting different devices with e.g.
Code: Select all
opencl.devices.select = 001
Also, how can I get rid of native threads? The following does not have any effect :
Code: Select all
native.threads.count = 0
Re: PATHGPU with OpenCL and CUDA support
The result shouldn't change but the performance is usally measured with the samples/sec counter.
With this:acasta69 wrote: ↑Tue Apr 21, 2020 11:51 am Also, how can I get rid of native threads? The following does not have any effect :Code: Select all
native.threads.count = 0
Code: Select all
opencl.native.threads.count = 0
Re: PATHGPU with OpenCL and CUDA support
Yes, I used the other value to exclude the native threads that I could not switch off.
Now, without native threads and samples/sec as reference, I have 12% faster performance with OpenCL.
I assume it is ok to use the Cuda-enabled executable and select either the Cuda or the OpenCL device, right?
Re: PATHGPU with OpenCL and CUDA support
Yes, the default PATHOCL behavior now is to use only CUDA devices if at least one is available, this will work fine on NVIDIA-only installation where GPUs are exposed 2 times (and it will work fine with NVIDIA-without installation too where only OpenCL devices are used). Inded, aside the case where you explicitly select what devices to use.