Skip to content

Commit fc91b07

Browse files
authored
Merge branch 'master' into add_type_aliases
2 parents 03aea0e + 307fceb commit fc91b07

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# The short X.Y version
3434
version = '0.11'
3535
# The full version, including alpha/beta/rc tags
36-
release = '0.11.0'
36+
release = '0.11.1'
3737

3838

3939
# -- General configuration ---------------------------------------------------

dpnp/backend/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
2929

30-
# set(DPNP_VERSION 0.11.0)
30+
# set(DPNP_VERSION 0.11.1)
3131
# set(DPNP_API_VERSION 0.11)
3232

3333
# set directory where the custom finders live

dpnp/backend/doc/Doxyfile

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

41-
PROJECT_NUMBER = 0.11.0
41+
PROJECT_NUMBER = 0.11.1
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

dpnp/backend/src/queue_sycl.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ class backend_sycl
137137
#else
138138
// temporal solution. Started from Sept-2020
139139
DPCTLSyclQueueRef DPCtrl_queue = DPCTLQueueMgr_GetCurrentQueue();
140+
if (DPCtrl_queue == nullptr)
141+
{
142+
std::string reason = (DPCTLQueueMgr_GetQueueStackSize() == static_cast<size_t>(-1))
143+
? ": the queue stack is empty, probably no device is available."
144+
: ".";
145+
throw std::runtime_error("Failed to create a copy of SYCL queue with default device" + reason);
146+
}
140147
return *(reinterpret_cast<sycl::queue*>(DPCtrl_queue));
141148
#endif
142149
}

dpnp/dpnp_algo/dpnp_algo.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ cdef extern from "constants.hpp":
391391

392392
cdef extern from "dpnp_iface.hpp":
393393
void dpnp_queue_initialize_c(QueueOptions selector)
394-
size_t dpnp_queue_is_cpu_c()
394+
size_t dpnp_queue_is_cpu_c() except +
395395

396396
char * dpnp_memory_alloc_c(size_t size_in_bytes) except +
397397
void dpnp_memory_free_c(void * ptr)

dpnp/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
# *****************************************************************************
4-
# Copyright (c) 2016-2022, Intel Corporation
4+
# Copyright (c) 2016-2023, Intel Corporation
55
# All rights reserved.
66
#
77
# Redistribution and use in source and binary forms, with or without
@@ -29,6 +29,6 @@
2929
DPNP version module
3030
"""
3131

32-
__version__: str = '0.11.0'
32+
__version__: str = '0.11.1'
3333

3434
version: str = __version__

0 commit comments

Comments
 (0)