@@ -150,36 +150,40 @@ cdef class GraphNode:
150150 @property
151151 def local_id(self ) -> int:
152152 """The node's ID within its graph.
153+
154+ Requires CUDA 13 build and driver 13.1+
153155 """
154156 GN_check_valid(self )
155157 if self._is_entry:
156158 raise ValueError("The entry node has no driver-assigned ID")
157159 IF CUDA_CORE_BUILD_MAJOR >= 13:
158160 cdef unsigned int node_id
159161 if cy_driver_version() < (13, 1, 0):
160- raise NotImplementedError (" Graph node IDs require CUDA driver 13.1 or newer" )
162+ raise NotImplementedError (" Graph IDs require a CUDA 13 build of cuda.core and CUDA driver 13.1 or newer" )
161163 with nogil:
162164 HANDLE_RETURN(cydriver.cuGraphNodeGetLocalId(as_cu(self ._h_node), & node_id))
163165 return node_id
164166 ELSE :
165- raise NotImplementedError (" Graph node IDs require CUDA driver 13.1 or newer" )
167+ raise NotImplementedError (" Graph IDs require a CUDA 13 build of cuda.core and CUDA driver 13.1 or newer" )
166168
167169 @property
168170 def tools_id (self ) -> int:
169171 """The node's ID reported by CUDA profiling and tooling interfaces.
172+
173+ Requires CUDA 13 build and driver 13.1+
170174 """
171175 GN_check_valid(self )
172176 if self._is_entry:
173177 raise ValueError("The entry node has no driver-assigned ID")
174178 IF CUDA_CORE_BUILD_MAJOR >= 13:
175179 cdef unsigned long long node_id
176180 if cy_driver_version() < (13, 1, 0):
177- raise NotImplementedError (" Graph node IDs require CUDA driver 13.1 or newer" )
181+ raise NotImplementedError (" Graph IDs require a CUDA 13 build of cuda.core and CUDA driver 13.1 or newer" )
178182 with nogil:
179183 HANDLE_RETURN(cydriver.cuGraphNodeGetToolsId(as_cu(self ._h_node), & node_id))
180184 return node_id
181185 ELSE :
182- raise NotImplementedError (" Graph node IDs require CUDA driver 13.1 or newer" )
186+ raise NotImplementedError (" Graph IDs require a CUDA 13 build of cuda.core and CUDA driver 13.1 or newer" )
183187
184188 @property
185189 def graph (self ) -> GraphDefinition:
0 commit comments