File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
offload/plugins-nextgen/amdgpu/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2717,15 +2717,15 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
27172717 interop_spec_t *Prefers) override {
27182718 // TODO: update once targetsync is supported
27192719 if (InteropType != kmp_interop_type_target)
2720- return interop_spec_t {tgt_fr_hip , {false , 0 }, 0 };
2720+ return interop_spec_t {tgt_fr_hsa , {false , 0 }, 0 };
27212721 return interop_spec_t {tgt_fr_none, {false , 0 }, 0 };
27222722 }
27232723
27242724 Expected<omp_interop_val_t *>
27252725 createInterop (int32_t InteropType, interop_spec_t &InteropSpec) override {
27262726 auto *Ret = new omp_interop_val_t (
27272727 DeviceId, static_cast <kmp_interop_type_t >(InteropType));
2728- Ret->fr_id = tgt_fr_hip ;
2728+ Ret->fr_id = tgt_fr_hsa ;
27292729 Ret->vendor_id = omp_vendor_amd;
27302730
27312731 // TODO: implement targetsync support
You can’t perform that action at this time.
0 commit comments