Created
February 7, 2015 04:13
-
-
Save suma/8c9677c0408c08e376c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mac OS X (Yosemite) | |
$ gcc opencl.c -framework opencl | |
# Linux | |
$ gcc opencl.c -lOpenCL -I/opt/AMDAPPSDK-3.0-0-Beta/include -L/opt/AMDAPPSDK-3.0-0-Beta/lib/x86_64/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suma@sumac'0[~]$ ./a.out | |
1. Device: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz | |
1.1 Hardware version: OpenCL 1.2 | |
1.2 Software version: 1.1 | |
1.3 OpenCL C version: OpenCL C 1.2 | |
1.4 Parallel compute units: 4 | |
2. Device: HD Graphics 4000 | |
2.1 Hardware version: OpenCL 1.2 | |
2.2 Software version: 1.2(Dec 23 2014 00:18:31) | |
2.3 OpenCL C version: OpenCL C 1.2 | |
2.4 Parallel compute units: 16 | |
[suma@localhost ~]$ ./a.out | |
1. Device: Spectre | |
1.1 Hardware version: OpenCL 2.0 AMD-APP (1642.5) | |
1.2 Software version: 1642.5 (VM) | |
1.3 OpenCL C version: OpenCL C 2.0 | |
1.4 Parallel compute units: 6 | |
2. Device: AMD A10-7700K APU with Radeon(TM) R7 Graphics | |
2.1 Hardware version: OpenCL 1.2 AMD-APP (1642.5) | |
2.2 Software version: 1642.5 (sse2,avx,fma4) | |
2.3 OpenCL C version: OpenCL C 1.2 | |
2.4 Parallel compute units: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment