Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-09-27 15:47:51 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-09-27 16:24:12 +0300
commita6b53ef99492267f8f27fd58ea35104b88e1bec8 (patch)
tree651dbdd6ced4f35f78540b83b2a1acc454c7aae0 /intern/cycles/device/cuda/queue.h
parent2bd020521578549eb47c58c7984c9a35b7c35cd8 (diff)
Cycles: print name of kernels on errors in CUDA queue, for debugging
Diffstat (limited to 'intern/cycles/device/cuda/queue.h')
-rw-r--r--intern/cycles/device/cuda/queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/cuda/queue.h b/intern/cycles/device/cuda/queue.h
index 62e3aa3d6c2..4d1995ed69e 100644
--- a/intern/cycles/device/cuda/queue.h
+++ b/intern/cycles/device/cuda/queue.h
@@ -60,6 +60,8 @@ class CUDADeviceQueue : public DeviceQueue {
protected:
CUDADevice *cuda_device_;
CUstream cuda_stream_;
+
+ void assert_success(CUresult result, const char *operation);
};
CCL_NAMESPACE_END