Skip to content

Instantly share code, notes, and snippets.

@benjamingeiger
Created November 25, 2012 17:40
Show Gist options
  • Save benjamingeiger/4144499 to your computer and use it in GitHub Desktop.
Save benjamingeiger/4144499 to your computer and use it in GitHub Desktop.
Failing syntax/matching.
__kernel void
aes128_expand_encryption_key ( __global uint4 *key ,
__global uint4 *expandedkeys )
{
uint rd;
uint global_id = get_global_id(0);
__global uint4 * ex = (expandedkeys + (global_id * 11));
*ex = key[global_id];
for (rd = 1; rd < 11; rd++) {
/* Body not written yet. */
}
}
/* vim: set et sw=4 ts=4: */
/* vim620: set printoptions+=formfeed\:y: */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment