Forum > Alternate Hardware platforms

OSX Multibeam OpenCL question

<< < (7/14) > >>

Raistmer:
All variants should build OK actually.
I'll check what is regarding NV. MultiBeam OpenCL NV rarely used (for windows and Linux we have CUDA version that faster) so OPENCL_NV define there could be little unmaintained.
Regarding USE_OPENCL_HD5xxx - that's for ATi cards. And should be used together with USE_OPENCL as addition.
What errors do you see for this build ?

Joe Fox:
Attached is the stderr.txt. Let me know if you need additional info. It was built using the same build flags and preprocessor flags as the intel version that works. The only difference is USE_OPENCL_HD5xxx instead of USE_OPENCL_INTEL.

Raistmer:
Thanks.
-43 is CL_INVALID_BUILD_OPTIONS error. Some compiler option not go it seems.

I'll look closer on weekend probably.

Urs Echternacht:
These are the buildoptions for OpenCL compiler when HD5xxx is active (which has no specification for __APPLE__ yet) :
#elif USE_OPENCL_HD5xxx
      strcpy(buildoptions,"-w -DRESULT_SIZE=32 -cl-unsafe-math-optimizations -DUSE_OPENCL_HD5xxx -fno-bin-amdil");

Joe, could you try a rebuild using this options in src/GPU_lock.cpp instead :
#elif USE_OPENCL_HD5xxx
#if __APPLE__
      strcpy(buildoptions,"-w -D__APPLE__ -DRESULT_SIZE=32 -cl-unsafe-math-optimizations -DUSE_OPENCL_HD5xxx");
#else
      strcpy(buildoptions,"-w -DRESULT_SIZE=32 -cl-unsafe-math-optimizations -DUSE_OPENCL_HD5xxx -fno-bin-amdil");
#endif

Joe Fox:
Hi Urs,

I applied the change that you suggested. I now get error -49 instead of -43. Attached is the stderr.txt

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version