We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59408f commit 765d22dCopy full SHA for 765d22d
offload/plugins-nextgen/common/src/Utils/ELF.cpp
@@ -79,7 +79,7 @@ checkMachineImpl(const object::ELFObjectFile<ELFT> &ELFObj, uint16_t EMachine) {
79
if ((Header.e_flags & EF_CUDA_SM) < EF_CUDA_SM35)
80
return createError("unsupported NVPTX architecture");
81
} else if (Header.e_ident[EI_ABIVERSION] == ELFABIVERSION_CUDA_V2) {
82
- if ((Header.e_flags & EF_CUDA_SM) < EF_CUDA_SM100)
+ if ((Header.e_flags & EF_CUDA_SM_MASK) < EF_CUDA_SM100)
83
84
} else {
85
return createError("invalid CUDA ABI version");
0 commit comments