Skip to content

Commit 33e631e

Browse files
committed
[ur] Bump version to v0.7.0
1 parent c777601 commit 33e631e

File tree

13 files changed

+29
-19
lines changed

13 files changed

+29
-19
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55

66
cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
7-
project(unified-runtime VERSION 0.6.0)
7+
project(unified-runtime VERSION 0.7.0)
88

99
include(GNUInstallDirs)
1010
include(CheckCXXSourceCompiles)

include/ur.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
77
88
@file ur.py
9-
@version v0.6-r0
9+
@version v0.7-r0
1010
1111
"""
1212
import platform
@@ -569,7 +569,8 @@ def __str__(self):
569569
## ::UR_MAJOR_VERSION and ::UR_MINOR_VERSION
570570
class ur_api_version_v(IntEnum):
571571
_0_6 = UR_MAKE_VERSION( 0, 6 ) ## version 0.6
572-
CURRENT = UR_MAKE_VERSION( 0, 6 ) ## latest known version
572+
_0_7 = UR_MAKE_VERSION( 0, 7 ) ## version 0.7
573+
CURRENT = UR_MAKE_VERSION( 0, 7 ) ## latest known version
573574

574575
class ur_api_version_t(c_int):
575576
def __str__(self):

include/ur_api.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
88
*
99
* @file ur_api.h
10-
* @version v0.6-r0
10+
* @version v0.7-r0
1111
*
1212
*/
1313
#ifndef UR_API_H_INCLUDED
@@ -1021,7 +1021,8 @@ urPlatformGetInfo(
10211021
/// ::UR_MAJOR_VERSION and ::UR_MINOR_VERSION
10221022
typedef enum ur_api_version_t {
10231023
UR_API_VERSION_0_6 = UR_MAKE_VERSION(0, 6), ///< version 0.6
1024-
UR_API_VERSION_CURRENT = UR_MAKE_VERSION(0, 6), ///< latest known version
1024+
UR_API_VERSION_0_7 = UR_MAKE_VERSION(0, 7), ///< version 0.7
1025+
UR_API_VERSION_CURRENT = UR_MAKE_VERSION(0, 7), ///< latest known version
10251026
/// @cond
10261027
UR_API_VERSION_FORCE_UINT32 = 0x7fffffff
10271028
/// @endcond

include/ur_ddi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
88
*
99
* @file ur_ddi.h
10-
* @version v0.6-r0
10+
* @version v0.7-r0
1111
*
1212
*/
1313
#ifndef UR_DDI_H_INCLUDED

scripts/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Intel One API Unified Runtime API"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = v0.6
41+
PROJECT_NUMBER = v0.7
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

scripts/core/platform.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ etors:
130130
- name: "0_6"
131131
value: "$X_MAKE_VERSION( 0, 6 )"
132132
desc: "version 0.6"
133+
- name: "0_7"
134+
value: "$X_MAKE_VERSION( 0, 7 )"
135+
desc: "version 0.7"
133136
--- #--------------------------------------------------------------------------
134137
type: function
135138
desc: "Returns the API version supported by the specified platform"

scripts/parse_specs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import ctypes
1919
import itertools
2020

21-
default_version = "0.5"
22-
all_versions = ["0.5", "1.0", "1.1", "2.0"]
21+
default_version = "0.7"
22+
all_versions = ["0.6", "0.7"]
2323

2424
"""
2525
preprocess object
@@ -915,9 +915,9 @@ def parse(section, version, tags, meta, ref):
915915
for c in '_-':
916916
name = name.replace(c, ' ')
917917
elif header:
918-
# for d in _make_versions(d, float(version)):
919-
objects.append(d)
920-
meta = _generate_meta(d, header['ordinal'], meta)
918+
for d in _make_versions(d, float(version)):
919+
objects.append(d)
920+
meta = _generate_meta(d, header['ordinal'], meta)
921921

922922
if header:
923923
specs.append({

source/loader/layers/ur_proxy_layer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
///////////////////////////////////////////////////////////////////////////////
2121
class __urdlllocal proxy_layer_context_t {
2222
public:
23-
ur_api_version_t version = UR_API_VERSION_0_6;
23+
ur_api_version_t version = UR_API_VERSION_CURRENT;
2424

2525
virtual std::vector<std::string> getNames() const = 0;
2626
virtual bool isAvailable() const = 0;

source/loader/ur_loader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using platform_vector_t = std::vector<platform_t>;
3030

3131
class context_t {
3232
public:
33-
ur_api_version_t version = UR_API_VERSION_0_6;
33+
ur_api_version_t version = UR_API_VERSION_CURRENT;
3434

3535
platform_vector_t platforms;
3636
AdapterRegistry adapter_registry;

source/ur_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
88
*
99
* @file ur_api.cpp
10-
* @version v0.6-r0
10+
* @version v0.7-r0
1111
*
1212
*/
1313
#include "ur_api.h"

0 commit comments

Comments
 (0)