cuda.bindings._v2.driver.logs_register_callback#

cuda.bindings._v2.driver.logs_register_callback(
intptr_t callback_func,
intptr_t user_data,
) → intptr_t#

Register a callback function to receive error log messages.

Parameters:
  • callback_func (intptr_t) – The function to register as a callback.

  • user_data (intptr_t) – A generic pointer to user data. This is passed into the callback function.

Returns:

Optional location to store the callback handle after it

is registered.

Return type:

intptr_t

See also

cuLogsRegisterCallback