Skip to content

Commit 0e8eb18

Browse files
author
Peter Yeh
committed
kGcnArch query is no-op
1 parent 7ca0510 commit 0e8eb18

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/runtime/metal/metal_device_api.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
case kMultiProcessorCount: return;
6464
case kMaxThreadDimensions: return;
6565
case kExist: break;
66+
case kGcnArch: return;
6667
}
6768
}
6869

src/runtime/opencl/opencl_device_api.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void OpenCLWorkspace::GetAttr(
114114
*rv = ss.str();
115115
break;
116116
}
117+
case kGcnArch: return;
117118
}
118119
}
119120

src/runtime/vulkan/vulkan.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@ void VulkanDeviceAPI::GetAttr(TVMContext ctx, DeviceAttrKind kind, TVMRetValue*
398398
break;
399399
case kMaxThreadDimensions:
400400
break;
401+
case kGcnArch:
402+
return;
401403
}
402404
}
403405

0 commit comments

Comments
 (0)