-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change some OCL usages to SPIRV (#1191)
KhronosGroup/SPIRV-LLVM-Translator@9e60105 reverted the change in SPIRV translator to translate OCL C built-ins to SPIRV built-ins. We need to use the SPIRV built-ins directly for the cases below: 1. `_Z25__spirv_BuiltInSubgroupIdv` lowering is faster than `_Z16get_sub_group_idv`. 2. `_Z31intel_convert_as_bfloat16_floatt` causes 349 `RuntimeError: Triton Error [ZE]: 0x78000018` failures. 3. `_Z32intel_convert_bfloat16_as_ushortf` causes 70 `RuntimeError: Triton Error [ZE]: 0x78000018` failures. Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
- Loading branch information
1 parent
0dbfa04
commit da631c7
Showing
5 changed files
with
15 additions
and
15 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 +1 @@ | ||
3c1ff53d6202f028e6173fed7b378e3599a76606 | ||
9e60105170110e0fd01f073954763af399d1c596 |
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
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
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
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