Generate obj instead asm when lower llir to bin #240
python3kgae
started this conversation in
General
Replies: 1 comment 3 replies
-
@zhaoshiz does your team at Qualcomm depend on at all? would be great to hear your thoughts. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
_llir_to_bin
generates ASM instead of OBJThis approach works fine for Linux. However, for Windows using MSVC, compiling an ASM file and a CPP file together is not supported. You have to compile ASM separately and then link the resulting OBJ when compiling the CPP file.
I'm wondering if it would be acceptable to let
_llir_to_bin
generate OBJ directly. This would be similar tomake_hsaco
for AMD andmake_cubin
for CUDA, where the result is binary instead of text as well.Beta Was this translation helpful? Give feedback.
All reactions