We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_backend()
1 parent 7d2d20f commit fc50e3bCopy full SHA for fc50e3b
libsyclinterface/source/dpctl_sycl_device_interface.cpp
@@ -184,8 +184,7 @@ DPCTLDevice_GetBackend(__dpctl_keep const DPCTLSyclDeviceRef DRef)
184
DPCTLSyclBackendType BTy = DPCTLSyclBackendType::DPCTL_UNKNOWN_BACKEND;
185
auto D = unwrap<device>(DRef);
186
if (D) {
187
- BTy = DPCTL_SyclBackendToDPCTLBackendType(
188
- D->get_platform().get_backend());
+ BTy = DPCTL_SyclBackendToDPCTLBackendType(D->get_backend());
189
}
190
return BTy;
191
0 commit comments