Files
llvm-project/libclc/generic/lib/async/async_work_group_copy.cl
Tom Stellard 081e778d22 Implement async_work_group_copy builtin v3
This is a simple implementation which just copies data synchronously.

v2:
  - Use size_t.

v3:
  - Fix possible race condition by splitting the copy among multiple
    work items.

llvm-svn: 219008
2014-10-03 19:49:39 +00:00

10 lines
193 B
Common Lisp

#include <clc/clc.h>
#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
#endif
#define __CLC_BODY <async_work_group_copy.inc>
#include <clc/async/gentype.inc>
#undef __CLC_BODY