File tree Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 33
33
# The short X.Y version
34
34
version = '0.11'
35
35
# The full version, including alpha/beta/rc tags
36
- release = '0.11.0 '
36
+ release = '0.11.1 '
37
37
38
38
39
39
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 27
27
28
28
cmake_minimum_required (VERSION 3.10 FATAL_ERROR )
29
29
30
- # set(DPNP_VERSION 0.11.0 )
30
+ # set(DPNP_VERSION 0.11.1 )
31
31
# set(DPNP_API_VERSION 0.11)
32
32
33
33
# set directory where the custom finders live
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = "DPNP C++ backend kernel library"
38
38
# could be handy for archiving the generated documentation or if some version
39
39
# control system is used.
40
40
41
- PROJECT_NUMBER = 0.11.0
41
+ PROJECT_NUMBER = 0.11.1
42
42
43
43
# Using the PROJECT_BRIEF tag one can provide an optional one line description
44
44
# for a project that appears at the top of each page and should give viewer a
Original file line number Diff line number Diff line change @@ -137,6 +137,13 @@ class backend_sycl
137
137
#else
138
138
// temporal solution. Started from Sept-2020
139
139
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
+ }
140
147
return *(reinterpret_cast <sycl::queue*>(DPCtrl_queue));
141
148
#endif
142
149
}
Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ cdef extern from "constants.hpp":
391
391
392
392
cdef extern from " dpnp_iface.hpp" :
393
393
void dpnp_queue_initialize_c(QueueOptions selector)
394
- size_t dpnp_queue_is_cpu_c()
394
+ size_t dpnp_queue_is_cpu_c() except +
395
395
396
396
char * dpnp_memory_alloc_c(size_t size_in_bytes) except +
397
397
void dpnp_memory_free_c(void * ptr)
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
3
# *****************************************************************************
4
- # Copyright (c) 2016-2022 , Intel Corporation
4
+ # Copyright (c) 2016-2023 , Intel Corporation
5
5
# All rights reserved.
6
6
#
7
7
# Redistribution and use in source and binary forms, with or without
29
29
DPNP version module
30
30
"""
31
31
32
- __version__ : str = '0.11.0 '
32
+ __version__ : str = '0.11.1 '
33
33
34
34
version : str = __version__
You can’t perform that action at this time.
0 commit comments