Home
last modified time | relevance | path

Searched refs:DeviceID (Results 1 – 17 of 17) sorted by relevance

/llvm-project/offload/src/
H A Ddevice.cpp67 DeviceTy::DeviceTy(GenericPluginTy *RTL, int32_t DeviceID, int32_t RTLDeviceID) in DeviceTy() argument
68 : DeviceID(DeviceID), RTL(RTL), RTLDeviceID(RTLDeviceID), in DeviceTy()
72 if (DeviceID == -1 || !(getInfoLevel() & OMP_INFOTYPE_DUMP_TABLE)) in ~DeviceTy()
84 DeviceID); in init()
116 DeviceID, HstPtr, &TargetPtr, Size, in allocData()
127 DeviceID, TgtAllocBegin, in deleteData()
145 omp_get_initial_device(), HstPtrBegin, DeviceID, TgtPtrBegin, Size, in submitData()
165 DeviceID, TgtPtrBegin, omp_get_initial_device(), HstPtrBegin, Size, in retrieveData()
268 fprintf(stderr, "Device %i offload entries:\n", DeviceID); in dumpOffloadEntries()
H A Domptarget.cpp510 INFO(OMP_INFOTYPE_EMPTY_MAPPING, Device.DeviceID, in targetDataMapper()
1383 int32_t DeviceId = Device.DeviceID; in packAndTransfer()
1494 return Device.RTL->initialize_record_replay(Device.DeviceID, MemorySize, in processDataBefore()
1507 int32_t DeviceId = Device.DeviceID; in processDataBefore()
376 checkDeviceAndCtors(int64_t & DeviceID,ident_t * Loc) checkDeviceAndCtors() argument
H A Dprivate.h
/llvm-project/offload/src/OpenMP/
H A DMapping.cpp24 DUMP_INFO(toStdOut, OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
30 DUMP_INFO(toStdOut, OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
33 DUMP_INFO(toStdOut, OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
39 DUMP_INFO(toStdOut, OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
240 INFO(OMP_INFOTYPE_MAPPING_EXISTS, Device.DeviceID, in getTargetPointer()
271 INFO(OMP_INFOTYPE_MAPPING_CHANGED, Device.DeviceID, in getTargetPointer()
303 INFO(OMP_INFOTYPE_MAPPING_CHANGED, Device.DeviceID, in getTargetPointer()
416 INFO(OMP_INFOTYPE_MAPPING_EXISTS, Device.DeviceID, in getTgtPtrBegin()
466 INFO(OMP_INFOTYPE_MAPPING_CHANGED, Device.DeviceID, in eraseMapEntry()
529 printCopyInfoImpl(Device.DeviceID, H2D, HstPtrBegin, TgtPtrBegin, Size, in printCopyInfo()
/llvm-project/offload/include/
H A Ddevice.h44 int32_t DeviceID; member
48 DeviceTy(GenericPluginTy *RTL, int32_t DeviceID, int32_t RTLDeviceID);
/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h208 unsigned DeviceID; in ParentName()
213 TargetRegionEntryInfo() : DeviceID(0), FileID(0), Line(0), Count(0) {}
214 TargetRegionEntryInfo(StringRef ParentName, unsigned DeviceID,
216 : ParentName(ParentName), DeviceID(DeviceID), FileID(FileID), Line(Line),
221 unsigned DeviceID, unsigned FileID,
225 return std::make_tuple(ParentName, DeviceID, FileID, Line, Count) <
226 std::make_tuple(RHS.ParentName, RHS.DeviceID, RHS.FileID, RHS.Line,
453 return TargetRegionEntryInfo(EntryInfo.ParentName, EntryInfo.DeviceID,
2038 /// \param DeviceID Identifie
200 unsigned DeviceID; global() member
[all...]
/llvm-project/mlir/test/Dialect/DLTI/
H A Dinvalid.mlir
/llvm-project/mlir/include/mlir/Dialect/DLTI/
H A DDLTIAttrs.td192 TargetSystemSpecInterface::DeviceID deviceID);
202 TargetSystemSpecInterface::DeviceID deviceID) {
/llvm-project/mlir/lib/Dialect/DLTI/
H A DDLTI.cpp449 DenseSet<TargetSystemSpecInterface::DeviceID> deviceIds; in verifyOperationAttribute()
453 llvm::dyn_cast<TargetSystemSpecInterface::DeviceID>(entry.getKey()); in verifyOperationAttribute()
/llvm-project/mlir/include/mlir/Interfaces/
H A DDataLayoutInterfaces.h248 getDevicePropertyValue(TargetSystemSpecInterface::DeviceID,
H A DDataLayoutInterfaces.td332 using DeviceID = StringAttr;
/llvm-project/mlir/lib/Interfaces/
H A DDataLayoutInterfaces.cpp664 TargetSystemSpecInterface::DeviceID deviceID, in getDevicePropertyValue()
791 DenseSet<TargetSystemSpecInterface::DeviceID> deviceIDs; in verifyTargetSystemSpec()
805 llvm::dyn_cast<TargetSystemSpecInterface::DeviceID>(entry.getKey()); in verifyTargetSystemSpec()
/llvm-project/offload/plugins-nextgen/common/include/
H A DPluginInterface.h1116 int32_t DeviceID,
1199 virtual Expected<bool> isELFCompatible(uint32_t DeviceID,
/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1117 Value *Ident, Value *DeviceID, Value *NumTeams, Value *NumThreads, in emitKernelLaunch()
1135 SmallVector<Value *> OffloadingArgs{Ident, DeviceID, NumTeams, in emitCancelationCheckImpl()
1148 Value *DeviceID, Value *RTLoc, InsertPointTy AllocaIP) { in emitCancelationCheckImpl()
1188 Builder, AllocaIP, Return, RTLoc, DeviceID, Args.NumTeams.front(), in targetParallelCallback()
6548 InsertPointTy CodeGenIP, Value *DeviceID, Value *IfCond, in createOutlinedFunction()
6598 SrcLocInfo, DeviceID, in createOutlinedFunction()
6631 cantFail(TaskBodyCB(/*DeviceID=*/nullptr, /*RTLoc=*/nullptr, in emitTargetOutlinedFunction()
6634 cantFail(emitTargetTask(TaskBodyCB, DeviceID, SrcLocInfo, AllocaIP, in emitTargetOutlinedFunction()
6691 Value *OffloadingArgs[] = {SrcLocInfo, DeviceID, in createTarget()
7114 TargetTaskBodyCallbackTy TaskBodyCB, Value *DeviceID, Valu in emitOffloadingArrays()
1041 emitTargetKernel(const LocationDescription & Loc,InsertPointTy AllocaIP,Value * & Return,Value * Ident,Value * DeviceID,Value * NumTeams,Value * NumThreads,Value * HostPtr,ArrayRef<Value * > KernelArgs) emitTargetKernel() argument
1072 emitKernelLaunch(const LocationDescription & Loc,Function * OutlinedFn,Value * OutlinedFnID,EmitFallbackCallbackTy emitTargetCallFallbackCB,TargetKernelArgs & Args,Value * DeviceID,Value * RTLoc,InsertPointTy AllocaIP) emitKernelLaunch() argument
6275 createTargetData(const LocationDescription & Loc,InsertPointTy AllocaIP,InsertPointTy CodeGenIP,Value * DeviceID,Value * IfCond,TargetDataInfo & Info,GenMapInfoCallbackTy GenMapInfoCB,omp::RuntimeFunction * MapperFunc,function_ref<InsertPointTy (InsertPointTy CodeGenIP,BodyGenTy BodyGenType)> BodyGenCB,function_ref<void (unsigned int,Value *)> DeviceAddrCB,function_ref<Value * (unsigned int)> CustomMapperCB,Value * SrcLocInfo) createTargetData() argument
6667 Value *DeviceID = Builder.getInt64(OMP_DEVICEID_UNDEF); emitTargetCall() local
6816 emitMapperCall(const LocationDescription & Loc,Function * MapperFunc,Value * SrcLocInfo,Value * MaptypesArg,Value * MapnamesArg,struct MapperAllocas & MapperAllocas,int64_t DeviceID,unsigned NumOperands) emitMapperCall() argument
8137 getTargetRegionEntryFnName(SmallVectorImpl<char> & Name,StringRef ParentName,unsigned DeviceID,unsigned FileID,unsigned Line,unsigned Count) getTargetRegionEntryFnName() argument
[all...]
/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp2789 if (I->getFirst().getUniqueID().getDevice() == EntryInfo.DeviceID &&
3739 llvm::Value *DeviceID; in emitTaskInit()
3741 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTaskInit()
3744 DeviceID = CGF.Builder.getInt64(OMP_DEVICEID_UNDEF); in emitTaskInit()
3745 AllocArgs.push_back(DeviceID); in emitTaskInit()
9161 llvm::Value *DeviceID; in emitUserDefinedMapper()
9167 DeviceID = in emitUserDefinedMapper()
9170 DeviceID = CGF.Builder.getInt64(OMP_DEVICEID_UNDEF); in emitUserDefinedMapper()
9172 return DeviceID; in emitUserDefinedMapper()
9397 llvm::Value *DeviceID
3760 llvm::Value *DeviceID; emitTaskInit() local
9449 llvm::Value *DeviceID; emitDeviceID() local
9625 llvm::Value *DeviceID = emitDeviceID(Device, CGF); emitTargetCallKernelLaunch() local
10245 llvm::Value *DeviceID = nullptr; emitTargetDataCalls() local
10346 llvm::Value *DeviceID = nullptr; emitTargetDataStandAloneCall() local
[all...]
/llvm-project/mlir/unittests/Interfaces/
H A DDataLayoutInterfacesTest.cpp137 getDeviceSpecForDeviceID(TargetSystemSpecInterface::DeviceID deviceID) { in getDeviceSpecForDeviceID()
414 << "DeviceID is missing, or is not of string type"; in parseAttribute()
/llvm-project/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp5903 int64_t DeviceID = 2; in CreateDefaultMapInfos()
5941 Loc, AllocaIP, Builder.saveIP(), Builder.getInt64(DeviceID), in TEST_F()
5965 int64_t DeviceID = 2; in TEST_F()
6003 Loc, AllocaIP, Builder.saveIP(), Builder.getInt64(DeviceID), in TEST_F()
6027 int64_t DeviceID = 2; in TEST_F()
6114 Loc, AllocaIP, Builder.saveIP(), Builder.getInt64(DeviceID), in TEST_F()
6142 Loc, AllocaIP, Builder.saveIP(), Builder.getInt64(DeviceID), in TEST_F()
6405 TargetRegionEntryInfo EntryInfo("parent", /*DeviceID=*/1, /*FileID=*/2, in TEST_F()
6664 TargetRegionEntryInfo EntryInfo("parent", /*DeviceID=*/1, /*FileID=*/2, in TEST_F()
6779 TargetRegionEntryInfo EntryInfo("parent", /*DeviceID in TEST_F()
5661 int64_t DeviceID = 2; TEST_F() local
5720 int64_t DeviceID = 2; TEST_F() local
5779 int64_t DeviceID = 2; TEST_F() local
[all...]