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:
authorSergey Sharybin <sergey@blender.org>2022-04-14 17:42:12 +0300
committerSergey Sharybin <sergey@blender.org>2022-04-19 11:32:07 +0300
commiteccc9d8eba8d65009307ebc7d4da344e9416d89b (patch)
tree210520575d7539458f04b3a91b5aec968665c5a5 /intern/cycles/device/hip
parent3035235defe0f3a6314e10ceab4c94be86086344 (diff)
Cleanup: Remove unused function in Cycles queue
Noticed while looking into oneAPI patch. Seems to be unused, without clear indication why/when it might be needed. Removing the function simplifies adding the new backend. Differential Revision: https://developer.blender.org/D14652
Diffstat (limited to 'intern/cycles/device/hip')
-rw-r--r--intern/cycles/device/hip/queue.cpp5
-rw-r--r--intern/cycles/device/hip/queue.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/intern/cycles/device/hip/queue.cpp b/intern/cycles/device/hip/queue.cpp
index 42778bc31cf..6c2c2c29624 100644
--- a/intern/cycles/device/hip/queue.cpp
+++ b/intern/cycles/device/hip/queue.cpp
@@ -71,11 +71,6 @@ void HIPDeviceQueue::init_execution()
debug_init_execution();
}
-bool HIPDeviceQueue::kernel_available(DeviceKernel kernel) const
-{
- return hip_device_->kernels.available(kernel);
-}
-
bool HIPDeviceQueue::enqueue(DeviceKernel kernel,
const int work_size,
DeviceKernelArguments const &args)
diff --git a/intern/cycles/device/hip/queue.h b/intern/cycles/device/hip/queue.h
index 11f60d04ad4..729d8a19acb 100644
--- a/intern/cycles/device/hip/queue.h
+++ b/intern/cycles/device/hip/queue.h
@@ -27,8 +27,6 @@ class HIPDeviceQueue : public DeviceQueue {
virtual void init_execution() override;
- virtual bool kernel_available(DeviceKernel kernel) const override;
-
virtual bool enqueue(DeviceKernel kernel,
const int work_size,
DeviceKernelArguments const &args) override;