229 | | One last thing to mention, the makefile for Mac is made with the assumption |
230 | | that the NVIDIA Cuda SDK is installed at the default location: "$ROOT/Developer/GPU Computing/" on Mac. |
231 | | If it is installed at a different location on your machine, then you will need to edit file "common_mac.mk". |
232 | | Do so by looking for "ROOTDIR ?= /Developer/GPU\ Computing" in file "common_mac.mk" |
| 229 | The makefile for Mac is made with the assumption that the NVIDIA Cuda SDK is installed at the default location: |
| 230 | "$ROOT/Developer/GPU Computing/" on Mac. If it is installed at a different location on your machine, |
| 231 | then you will need to edit file "common_mac.mk". Do so by looking for "ROOTDIR ?= /Developer/GPU\ Computing" |
| 234 | The executable file is created in "/boinc/samples/nvcuda/darwin/build_mode/" (build_mode could be release or emurelease). |
| 235 | |
| 236 | === NVIDIA OpenCL === |
| 237 | |
| 238 | The NVIDIA OpenCL SDK for MacOS doesn't contain the OpenCL library file. This file often comes with the kernel |
| 239 | driver package for MacOS which can be installed only when your machine has an NVIDIA Cuda-enabled GPU. |
| 240 | The other way to obtain this file is to have Mac OS X 10.6 installed on your machine. |
| 241 | |
| 242 | The makefile for Mac is made with the assumption that the NVIDIA Cuda SDK is installed at the default location: |
| 243 | "$ROOT/Developer/GPU Computing/" on Mac. If it is installed at a different location on your machine, |
| 244 | then you will need to edit file "common_opencl_mac.mk". Do so by looking for "ROOTDIR ?= /Developer/GPU\ Computing" |
| 245 | and replace this path with an appropriate path on your machine. |
| 246 | |
| 247 | The executable is created in "/boinc/samples/nvopencl/darwin/release/". |