You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
oidn::newDevice returns NULL handle when oidn::DeviceType::HIP is used #262
I am upgrading OIDN to 2.3.3 to have support for both AMD and Nvidia GPUs on Windows 11.
When i create a CPU device it works m_device = oidn::newDevice(oidn::DeviceType::CPU);
When i create a Cuda device it works too: m_device = oidn::newDevice(oidn::DeviceType::CUDA);
BUT creating a HIP device fails: m_device = oidn::newDevice(oidn::DeviceType::HIP);
oidn::newDevice(oidn::DeviceType::HIP) returns a NULL handle. See following image:
When the newDevice line is passed the log says that the corresponding DLL is loaded then unloaded
(Win32): Loaded '<path_to_my_app>\x64\Debug\OpenImageDenoise_device_hip.dll'. Module was built without symbols.
(Win32): Unloaded '<path_to_my_app>\x64\Debug\OpenImageDenoise_device_hip.dll'
My hardware: Nvidia GeForce RTX 3060 Laptop GPU.
Tested on my integrated AMD Radeon Graphics it fails too.
changed the title [-]oidn::newDevice returns null handle when oidn::DeviceType::HIP is used[/-][+]oidn::newDevice returns NULL handle when oidn::DeviceType::HIP is used[/+]on Apr 29, 2025
Activity
[-]oidn::newDevice returns null handle when oidn::DeviceType::HIP is used[/-][+]oidn::newDevice returns NULL handle when oidn::DeviceType::HIP is used[/+]kraszkow commentedon May 6, 2025
@StudenteChamp2 - in OIDN README file you can find supported list of devices, for AMD it's:
"AMD GPUs with RDNA2 (Navi 21 only), RDNA3 (Navi 3x), and RDNA4 (Navi 4x) architectures"
Which AMD GPU are you trying to use with OIDN?