Created
June 12, 2013 13:42
-
-
Save modohash/5765343 to your computer and use it in GitHub Desktop.
The simplest OpenCL program ever!
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
#include <CL/cl.h> | |
int main(int argc, char **argv){ | |
cl_platform_id test; | |
cl_uint num; | |
cl_uint ok = 1; | |
clGetPlatformIDs(ok, &test, &num); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment