-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL-PTX] Add integer and shared builtins categories (#1828)
This patch adds all builtins from the integer and shared builtins categories. Remove old forward declared SPIR-V builtin from the integer and shared categories. Update the binding file using the header generator. Add relevant binding test. Remove XFAIL from related SYCL tests. Signed-off-by: Victor Lomuller <[email protected]> Co-authored-by: David Wood <[email protected]>
- Loading branch information
Showing
128 changed files
with
12,708 additions
and
223 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,51 @@ | ||
#ifndef __CLC_BODY_U | ||
#define __CLC_BODY_U __CLC_BODY | ||
#endif | ||
#ifndef __CLC_BODY_S | ||
#define __CLC_BODY_S __CLC_BODY | ||
#endif | ||
#define __CLC_GEN_S | ||
|
||
#define __CLC_GENTYPE int | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE int2 | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE int3 | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE int4 | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE int8 | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE int16 | ||
#include __CLC_BODY_S | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#undef __CLC_GEN_S | ||
|
||
#define __CLC_GENTYPE uint | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE uint2 | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE uint3 | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE uint4 | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE uint8 | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#define __CLC_GENTYPE uint16 | ||
#include __CLC_BODY_U | ||
#include __CLC_BODY | ||
#undef __CLC_GENTYPE | ||
|
||
#undef __CLC_BODY_U | ||
#undef __CLC_BODY_S |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.