Created
June 22, 2017 15:23
-
-
Save marty1885/1e7433bca3072aa7a42aef248a0bd6ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
__kernel foo(float* in, float* out) | |
{ | |
int id = get_global_id(0); | |
out[id] = in[id]*100; | |
} | |
__kernel bar(float* out) | |
{ | |
int id = get_global_id(0); | |
out[id] = 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment