Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions libclc/generic/include/clc/async/async_work_group_copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@
#define __CLC_DST_ADDR_SPACE local
#define __CLC_SRC_ADDR_SPACE global
#define __CLC_BODY <clc/async/async_work_group_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY
#define __CLC_BODY <clc/async/async_work_group_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_DST_ADDR_SPACE
#undef __CLC_SRC_ADDR_SPACE
#undef __CLC_BODY

#define __CLC_DST_ADDR_SPACE global
#define __CLC_SRC_ADDR_SPACE local
#define __CLC_BODY <clc/async/async_work_group_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY
#define __CLC_BODY <clc/async/async_work_group_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_DST_ADDR_SPACE
#undef __CLC_SRC_ADDR_SPACE
#undef __CLC_BODY
14 changes: 10 additions & 4 deletions libclc/generic/include/clc/async/async_work_group_strided_copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@
#define __CLC_DST_ADDR_SPACE local
#define __CLC_SRC_ADDR_SPACE global
#define __CLC_BODY <clc/async/async_work_group_strided_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY
#define __CLC_BODY <clc/async/async_work_group_strided_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_DST_ADDR_SPACE
#undef __CLC_SRC_ADDR_SPACE
#undef __CLC_BODY

#define __CLC_DST_ADDR_SPACE global
#define __CLC_SRC_ADDR_SPACE local
#define __CLC_BODY <clc/async/async_work_group_strided_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY
#define __CLC_BODY <clc/async/async_work_group_strided_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_DST_ADDR_SPACE
#undef __CLC_SRC_ADDR_SPACE
#undef __CLC_BODY
239 changes: 0 additions & 239 deletions libclc/generic/include/clc/async/gentype.inc

This file was deleted.

6 changes: 5 additions & 1 deletion libclc/generic/include/clc/async/prefetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@
//===----------------------------------------------------------------------===//

#define __CLC_BODY <clc/async/prefetch.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY

#define __CLC_BODY <clc/async/prefetch.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
7 changes: 6 additions & 1 deletion libclc/generic/lib/async/async_work_group_copy.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
#include <clc/clc.h>

#define __CLC_BODY <async_work_group_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY

#define __CLC_BODY <async_work_group_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
7 changes: 6 additions & 1 deletion libclc/generic/lib/async/async_work_group_strided_copy.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
#include <clc/clc.h>

#define __CLC_BODY <async_work_group_strided_copy.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY

#define __CLC_BODY <async_work_group_strided_copy.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
7 changes: 6 additions & 1 deletion libclc/generic/lib/async/prefetch.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
#include <clc/clc.h>

#define __CLC_BODY <prefetch.inc>
#include <clc/async/gentype.inc>
#include <clc/integer/gentype.inc>
#undef __CLC_BODY

#define __CLC_BODY <prefetch.inc>
#include <clc/math/gentype.inc>
#undef __CLC_BODY
Loading