Skip to content

Commit fb7024f

Browse files
committed
Update message
1 parent e4f844e commit fb7024f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎cuda_core/cuda/core/graph/_graph_builder.pyx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,12 +1267,12 @@ cdef class Graph:
12671267
IF CUDA_CORE_BUILD_MAJOR >= 13:
12681268
cdef unsigned int graph_id
12691269
if cy_driver_version() < (13, 1, 0):
1270-
raise NotImplementedError("Graph IDs require CUDA driver 13.1 or newer")
1270+
raise NotImplementedError("Graph IDs require CUDA 13 build and driver 13.1 or newer")
12711271
with nogil:
12721272
HANDLE_RETURN(cydriver.cuGraphExecGetId(as_cu(self._h_graph_exec), &graph_id))
12731273
return graph_id
12741274
ELSE:
1275-
raise NotImplementedError("Graph IDs require CUDA driver 13.1 or newer")
1275+
raise NotImplementedError("Graph IDs require CUDA 13 build and driver 13.1 or newer")
12761276
12771277
@property
12781278
def handle(self) -> driver.CUgraphExec:

‎cuda_core/cuda/core/graph/_graph_definition.pyx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ cdef class GraphDefinition:
157157
IF CUDA_CORE_BUILD_MAJOR >= 13:
158158
cdef unsigned int graph_id
159159
if cy_driver_version() < (13, 1, 0):
160-
raise NotImplementedError("Graph IDs require CUDA driver 13.1 or newer")
160+
raise NotImplementedError("Graph IDs require CUDA 13 build and driver 13.1 or newer")
161161
with nogil:
162162
HANDLE_RETURN(cydriver.cuGraphGetId(as_cu(self._h_graph), &graph_id))
163163
return graph_id
164164
ELSE:
165-
raise NotImplementedError("Graph IDs require CUDA driver 13.1 or newer")
165+
raise NotImplementedError("Graph IDs require CUDA 13 build and driver 13.1 or newer")
166166

167167
@property
168168
def is_valid(self) -> bool:

0 commit comments

Comments
 (0)