ATI/AMD GPU support on Mac
Hi!
Thanks for a neat tool. I've compiled nsgminer on my Mac, but I think I've missed the part about enabling GPU support - I'm not sure if it's actually using the GPU.
Here's what I see:
[2018-01-06 22:43:23] OpenCL platform 0 vendor: Apple
[22:43:23] OpenCL platform 0 name: Apple
[22:43:23] OpenCL platform 0 version: OpenCL 1.2 (Oct 31 2017 18:19:43)
[22:43:24] Platform 0 devices: 1
[22:43:24] 0 ATI Radeon HD 6750M
[22:43:24] 1 OpenCL GPU device detected
[22:43:24] Unable to load the AMD Display Library
I managed to locate the AMD-APP-SDK-v2.4-lnx64 file and extract it, but it doesn't appear to have anything I can use. OpenCL on Mac doesn't seem to use the files, and it isn't clear which directory they might belong in.
When I use the application, I see something like this:
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit OCL 0: | 11.0 12.8 0.0 KH/s | A:0 R:0 HW:0 U:0.0/m
Does that mean it's using my GPU?
If I use the 'g' key it shows me that each thread (I set it to 4 threads at intensity 9) is running at around 2kH/s. Is that usual for GPU?
Thanks
It does use your GPU. No need to configure it for more than one thread. Use neoscrypt_vliw or neoscrypt_vliwp kernel for better performance.
Thanks for the quick response.
When I pass the -k neoscrypt_vliw cmdline arg, I get this:
[07:03:49] Probing for an alive pool
[07:03:50] Error -11: Building Program (clBuildProgram)
[07:03:50] Error returned by cvms_element_build_from_source
[07:03:50] Failed to init GPU thread 0, disabling device 0
[07:03:50] Restarting the GPU from the menu will not fix this.
[07:03:50] Try to restart the miner.
Press enter to continue:
And then the miner continues without the the GPU (the OCL 0 line notes it is OFF).
Do I need to add some different flags while compiling or so?
It seems Apple OpenCL has a problem with this kernel.