Skip to content

Instantly share code, notes, and snippets.

View egraldlo's full-sized avatar

Lei Zhang egraldlo

  • NEU -- ECNU
  • Shanghai. Putuo
View GitHub Profile
__kernel
void bitonicSort(__global uint * theArray,
const uint stage,
const uint passOfStage,
const uint direction)
{
uint sortIncreasing = direction;
uint threadId = get_global_id(0);