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-11-23 02:57:15 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-23 02:57:15 +0300
commitd1a4e043bdb0351bd0828fac9495b5efb5d210d8 (patch)
treee4f5d2979a0679d8cc3115da05d1d95ddf156181 /intern/cycles/device/hip
parent8600d4491fa4b349cb80241382c503abaf9c5ce9 (diff)
parentf749506163b7d2409c63c469f00e9bb1cbb2e68d (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'intern/cycles/device/hip')
-rw-r--r--intern/cycles/device/hip/device_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/hip/device_impl.cpp b/intern/cycles/device/hip/device_impl.cpp
index 64cd4cd826a..53c4f3f0b3f 100644
--- a/intern/cycles/device/hip/device_impl.cpp
+++ b/intern/cycles/device/hip/device_impl.cpp
@@ -93,7 +93,7 @@ HIPDevice::HIPDevice(const DeviceInfo &info, Stats &stats, Profiler &profiler)
}
/* Setup device and context. */
- result = hipGetDevice(&hipDevice, hipDevId);
+ result = hipDeviceGet(&hipDevice, hipDevId);
if (result != hipSuccess) {
set_error(string_printf("Failed to get HIP device handle from ordinal (%s)",
hipewErrorString(result)));