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 {
2717
2717
interop_spec_t *Prefers) override {
2718
2718
// TODO: update once targetsync is supported
2719
2719
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 };
2721
2721
return interop_spec_t {tgt_fr_none, {false , 0 }, 0 };
2722
2722
}
2723
2723
2724
2724
Expected<omp_interop_val_t *>
2725
2725
createInterop (int32_t InteropType, interop_spec_t &InteropSpec) override {
2726
2726
auto *Ret = new omp_interop_val_t (
2727
2727
DeviceId, static_cast <kmp_interop_type_t >(InteropType));
2728
- Ret->fr_id = tgt_fr_hip ;
2728
+ Ret->fr_id = tgt_fr_hsa ;
2729
2729
Ret->vendor_id = omp_vendor_amd;
2730
2730
2731
2731
// TODO: implement targetsync support
You can’t perform that action at this time.
0 commit comments