BlinkyStitt / vanitygen

GNU Affero General Public License v3.0
39 stars 14 forks source link

Cannot get oclvanitygen to use GPU #15

Closed binomialstew closed 10 years ago

binomialstew commented 10 years ago

Having same error on a Mac Pro that another user opened an issue on a few months ago. I can run oclvanitygen using my CPU with no issue (-d 0), but when I try and use either of my GPUs, I get the following. I am running from the master directory, etc.:

WARNING: Built with OpenSSL 0.9.8y 5 Feb 2013
WARNING: Use OpenSSL 1.0.0d+ for best performance    
Difficulty: 50656515217834    
Compiling kernel, can take minutes...vg_ocl_context_callback error: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: Build Program driver returned (517)    
vg_ocl_context_callback error: OpenCL Warning : clBuildProgram failed: could not build program for 0x2021c00 (AMD Radeon HD - FirePro D700 Compute Engine) (err:-2)    
vg_ocl_context_callback error: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:    
Error returned by cvms_element_build_from_source    
failure.    
clBuildProgram: CL_BUILD_PROGRAM_FAILURE
Build log:
Error returned by cvms_element_build_from_source
Device: AMD Radeon HD - FirePro D700 Compute Engine    
Vendor: AMD (2021c00)    
Driver: 1.2 (Jun 10 2014 22:41:23)   
Profile: FULL_PROFILE    
Version: OpenCL 1.2     
Max compute units: 32    
Max workgroup size: 256    
Global memory: 6442450944    
Max allocation: 1610612736

Available OpenCL platforms:
0: [Apple] Apple
  0: [Intel] Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
  1: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
  2: [AMD] AMD Radeon HD - FirePro D700 Compute Engine
binomialstew commented 10 years ago

Since I was able to compile this in Windows and get it running on the same hardware, it seems to be a problem with the GPU drivers or AMD SDK (if that's even used on the Mac build). There's probably nothing that can be done with this program to get it to work without AMD and Apple fixing their issues.