Skip to content

Commit 54580fa

Browse files
committed
[ET-VK] Replace uint16_t with int for swiftshader
As title. This is a follow up from #6675. Replace `uint16_t` with `int` as well as 16 bit vectorized types. Differential Revision: [D65824204](https://our.internmc.facebook.com/intern/diff/D65824204/) ghstack-source-id: 253112193 Pull Request resolved: #6781
1 parent dc41596 commit 54580fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/vulkan/runtime/gen_vulkan_spv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ def maybe_replace_u16vecn(self, input_text: str) -> str:
721721
return input_text
722722

723723
input_text = input_text.replace("u16vec", "ivec")
724+
input_text = input_text.replace("uint16_t", "int")
724725
return input_text
725726

726727
def generateSPV(self, output_dir: str) -> Dict[str, str]:

0 commit comments

Comments
 (0)