changed notation, task[Index,Count]_[x,y,z] -> task[Index,Count][1,2,3]. Change launch <<< nx,ny,nz >>> into launch [nx,ny,nz] or equivalent launch [nz][ny][nx]. Programmer can pick the one the is liked the most
This commit is contained in:
12
type.cpp
12
type.cpp
@@ -2961,12 +2961,12 @@ FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const {
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // threadCount
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex_x
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex_y
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex_z
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount_x
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount_y
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount_z
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex1
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex2
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskIndex3
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount1
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount2
|
||||
callTypes.push_back(LLVMTypes::Int32Type); // taskCount3
|
||||
}
|
||||
else
|
||||
// Otherwise we already have the types of the arguments
|
||||
|
||||
Reference in New Issue
Block a user