Skip to content

Commit

Permalink
[Vulkan] Fixed "device_name" property querying.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Aug 3, 2021
1 parent aca5d52 commit eb725aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/vulkan/vulkan_device_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void VulkanDeviceAPI::GetAttr(Device dev, DeviceAttrKind kind, TVMRetValue* rv)
break;
}
case kDeviceName:
*rv = prop.device_name;
*rv = String(prop.device_name);
break;

case kMaxClockRate:
Expand Down

0 comments on commit eb725aa

Please sign in to comment.