Skip to content

Commit b2fab99

Browse files
committed
Kick can down road
1 parent 4dbfaec commit b2fab99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

unified-runtime/source/adapters/native_cpu/common.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#include "ur/ur.hpp"
1515
#include <chrono>
1616

17-
constexpr size_t MaxMessageSize = 256;
17+
constexpr size_t MaxMessageSize = 512;
1818

1919
extern thread_local int32_t ErrorMessageCode;
2020
extern thread_local char ErrorMessage[MaxMessageSize];
2121

2222
#define DIE_NO_IMPLEMENTATION \
2323
do { \
24-
UR_LOG(ERR, "Not Implemented : {}", __FUNCTION__) \
24+
/*UR_LOG(ERR, "Not Implemented : {}", __FUNCTION__) */\
2525
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE; \
2626
} while (false)
2727

unified-runtime/source/adapters/native_cpu/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
459459

460460
default:
461461
std::cout << ".. Native CPU deviceGetInfo is dying...\n";
462-
DIE_NO_IMPLEMENTATION;
462+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
463463
}
464464
return UR_RESULT_SUCCESS;
465465
}

0 commit comments

Comments
 (0)