nvptx64 generates 2 targets: task and normal function for nvptx64 and export for avx only
This commit is contained in:
2
type.cpp
2
type.cpp
@@ -2925,7 +2925,7 @@ FunctionType::GetReturnTypeString() const {
|
||||
llvm::FunctionType *
|
||||
FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const {
|
||||
|
||||
if (isTask == true && g->target->getISA() != Target::NVPTX64)
|
||||
if (isTask == true && !g->target->isPTX()) //getISA() != Target::NVPTX64)
|
||||
Assert(removeMask == false);
|
||||
|
||||
// Get the LLVM Type *s for the function arguments
|
||||
|
||||
Reference in New Issue
Block a user