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.
1 parent 8062c0c commit 14db263Copy full SHA for 14db263
libsyclinterface/helper/source/dpctl_utils_helper.cpp
@@ -214,6 +214,9 @@ std::string DPCTL_AspectToStr(aspect aspectTy)
214
case aspect::host_debuggable:
215
ss << "host_debuggable";
216
break;
217
+ case aspect::emulated:
218
+ ss << "emulated";
219
+ break;
220
default:
221
throw std::runtime_error("Unsupported aspect type");
222
}
@@ -280,6 +283,9 @@ aspect DPCTL_StrToAspectType(const std::string &aspectTyStr)
280
283
else if (aspectTyStr == "host_debuggable") {
281
284
aspectTy = aspect::host_debuggable;
282
285
286
+ else if (aspectTyStr == "emulated") {
287
+ aspectTy = aspect::emulated;
288
+ }
289
else {
290
// \todo handle the error
291
0 commit comments