Skip to content

Commit afa0525

Browse files
committed
(NATIVECPU) added #define for device binary target
1 parent 8e9f3ff commit afa0525

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/ur_api.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,12 @@ typedef enum ur_platform_backend_t {
12241224
#define UR_DEVICE_BINARY_TARGET_AMDGCN "amdgcn"
12251225
#endif // UR_DEVICE_BINARY_TARGET_AMDGCN
12261226

1227+
///////////////////////////////////////////////////////////////////////////////
1228+
#ifndef UR_DEVICE_BINARY_TARGET_NATIVE_CPU
1229+
/// @brief Native CPU target
1230+
#define UR_DEVICE_BINARY_TARGET_NATIVE_CPU "native_cpu"
1231+
#endif // UR_DEVICE_BINARY_TARGET_NATIVE_CPU
1232+
12271233
///////////////////////////////////////////////////////////////////////////////
12281234
/// @brief Device Binary Type
12291235
typedef struct ur_device_binary_t {

0 commit comments

Comments
 (0)