3

I have spent the past hour looking for the AMD APP SDK location for Mac OSX 10.10 and cannot find it for the life of me. I don't know the file name even so I can't just search for it and searching SDK doesn't work.

I know I have it because I'm on a Mac Pro with AMD cards.

I'm trying to set up an OpenCL version of Caffe and need a reference to my SDK for it to compile (https://github.com/amd/OpenCL-caffe/wiki). Because I'm not able to set the export AMDAPPSDKROOT=/opt/AMDAPPSDK-*/ I'm getting a compile error File /Users/mbahr/Downloads/OpenCL-caffe-stable/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */

I've looked in my usr and found nothing. I looked for this comment on where the openCL SDK would be and found nothing there, I don't even have a Developer folder as far as I can tell... much less a GPU Computing folder.

Help?

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
Matthew Bahr
  • 337
  • 1
  • 15

1 Answers1

1

I know I have it because I'm on a Mac Pro with AMD cards.

If you are running OS X, you neither have nor need the AMD APP SDK.

I've just built OpenCL-Caffe from the GitHub repository on my own MacBook (10.11). The only configuration options I had to pass to CMake were to tell it where clBLAS was installed.

The only changes I needed to make to the source code were to replace #include <CL/...> with #include <OpenCL/...> in these files:

include/caffe/common.hpp
include/caffe/util/math_functions.hpp

and to remove #include <malloc.h> from src/caffe/device.cpp.

jprice
  • 9,755
  • 1
  • 28
  • 32
  • "If you are running OS X, you neither have nor need the AMD APP SDK." Really? Good to know. I'll start tweaking the files and see if I can get it to compile then get back to you. Thanks. – Matthew Bahr Mar 05 '16 at 23:53
  • Yep! Thanks, that helped a lot. I'm getting other libraries configured instead as I've figured out that I was having issues with protobuf not actually installing correctly. – Matthew Bahr Mar 06 '16 at 02:28