Mac OSX 10.10 AMD APP SDK Location - macos

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?

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.

Related

can dev c++ be installed on mac OS X yosemite?

I need to insert jpeg images in my C++ program. I tried doing it on turbo C++ and code blocks using graphic.h header but it didn't work. So someone told me that dev C++ supports graphics well and inserting pictures can be done easily. So I wonder if dev C++ can run on mac and also I am a new mac user.

Video editor for android - FFmpeg won't compile on windows?

Im trying to make a video editor for android (I've never made an android app before)
After searching for libraries to use I came across FFmpeg but I'm having trouble getting it to compile on Windows 7.
I'm currently using Eclipse and have the most recent android SDK and ndk.
I've been trying to follow tutorials on the internet including roman10's (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/) but they all seem specific to Linux.
Yesterday, I thought I'd give up and just dual boot Ubuntu on my windows laptop but of course that was messing up too. I shrank my partition and booted Ubuntu of a USB but the installer was detecting there is no OS on my laptop and not giving me the option to install it alongside windows 7.
So, can FFmpeg be compiled for android on windows? Or is there another library I could use to make a video editor that can?
Or should I just persist with dual booting ubuntu?
Thanks
Maybe you have already know that on Windows you must use Cygwin. This is open source tools which provide functionality similar to a Linux distribution on Windows.
I work with ndk in linux. It avoids many problems and errors which i can found in Windows.
Here link how to start work with Cygwin:
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/

Is an app created in Qt on Mavericks executable on other osx

I usually use a computer on snow leopard to create apps compatible upwards but I'm on holidays at the moment and only have my macbook pro with Mavericks on it.
I need to send an app to a customer who's on snow leopard (or lion)
Is this possible? Can I create a compatible app building it on Mavericks.
I'm not an expert on building on Mac, but I believe it is/can be. If the target computer also has Qt 5, then it should work.
There used to be "Universal" binaries that would work with both Intel based Macs and with Power PC based macs... I've seen that break on my Mavericks install for some things that were built with a "Universal" binary. It might be just a problem with that one or two programs I was running.
The default compiler for Mavericks and Qt 5 is clang64, and so it should work on any 64 bit Intel based mac. Make sure you are using the commandline deployment tool for qt mac deployment, so that all the dylib's get included in your app package.
Hope that helps.

How can I use the pre-compiled binaries to update to clang 3.3 on Mac OS 10.6.x?

I'm trying to install/update my clang from Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) to clang version 3.3. I've downloaded the pre-compiled binaries into usr/bin/, as suggested by other posts (How can I update clang to 3.3 on Mac OS X 10.6).
The point of this installation/update is to be able to use C++ code (not written by me, and written for a newer machine OS 10.8.x) on my mac. I would preferentially use Xcode to update this, but unfortunately, Apple has not made the necessary version of Xcode available for free without a developer's subscription.
I've edited my PATH and LD_LIBRARY_PATH to include clang3.3/bin/ and clang3.3/lib, but I get an "Illegal Instruction" error and it's not clear to me why this is.
What I'd really like is to try the whole process again from the beginning with a step-by-step outline of the process, like is seen here (How to install clang pre-built binaries ubuntu 12.04), except for Mac OSX system, not Ubuntu.
I realize there are some previous threads that ask almost the same question, but I am asking specifically for these versions (and from a standpoint that includes very little experience installing via terminal/understanding pathways/etc.).
Thanks for any help.

ICL, OS X.4/5 and Unix compliance ($UNIX2003)

I'm trying to compile a Mac version of our lib for a customer that wants to include it in a Photoshop plugin, and he is having trouble linking our lib into his app. More detailed info: His plugin is built against the CS4 Photoshop SDK, which means the Mac OS base SDK should be 10.4. My lib is a static one, compiled with the Intel compiler 11.1 and the base SDK is also set as 10.4.
I tested my lib against a small test app I wrote, and it compiles and works fine (on 10.5). To replicate my customer's environment, the app is compiled with gcc, and uses the 10.4 base SDK. While its fine for me, my customer cannot manage to link with my lib. The problem is the following: Undefined symbols:
"_fputs$UNIX2003", referenced from:
_write_message in libMyLib.a(libm_error.o)
When I compile my lib with gcc,and all other project settings the same, its fine, he can generate an executable. As soon as I compile with ICL, it breaks down. Could it be that ICL 11.1 is not compatible with 10.4? On the Fortran compiler forum, I found the following answer:"From the output provided it appears Xcode defaulted to Mac OS X 10.4, which the 11.1 compilers do not support." (http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/68647/)
Does that mean ICL 11.1 does not run on 10.4, or that the code it generates doesn't work on 10.4??
On the following page (http://software.intel.com/en-us/articles/performance-tools-for-software-developers-compatibility-of-intel-compiler-for-mac-os-x-and-xcode/), it also says that ICL 11.1 is not compatible with 10.4 (again same question: what does compatibility mean?). However, it says that ICL 10.1 is, so I tried. But now, even my own test app does not link, for the same reason (undefined function$UNIX2003).
Does anybody know what is the problem, and how to fix it? Or a way to work around it?
Thanks in advance,
A
PS: bonus point if somebody knows what this one means:
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _Cholesky from libMyLib.a(Cholesky.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
So the answer is: compile with ICL 10.1, not 11.1. None of the Intel libs used by 10.1 contain references to $UNIX2003 routines.
Hope it helps somebody.
A
Ultimately, you're going to need to get Intel product support from Intel, but if you want to sell Mac software that actually works then you should probably just use the same toolchain as everyone else and forget about it.

Resources