Fix various HIP RT issues
* Motion blur issues due to missing ray time * Wrong bitcode path for runtime compilation * Quiet logging Pull Request: https://projects.blender.org/blender/blender/pulls/109170
This commit is contained in:
committed by
Brecht Van Lommel
parent
4b0dc9eb29
commit
b84d4dd16d
@@ -95,6 +95,8 @@ HIPRTDevice::HIPRTDevice(const DeviceInfo &info, Stats &stats, Profiler &profile
|
||||
set_error(string_printf("Failed to create HIPRT Function Table"));
|
||||
return;
|
||||
}
|
||||
|
||||
hiprtSetLogLevel(hiprtLogLevelNone);
|
||||
}
|
||||
|
||||
HIPRTDevice::~HIPRTDevice()
|
||||
@@ -260,8 +262,7 @@ string HIPRTDevice::compile_kernel(const uint kernel_features, const char *name,
|
||||
linker_options.append(" --offload-arch=").append(arch);
|
||||
linker_options.append(" -fgpu-rdc --hip-link --cuda-device-only ");
|
||||
string hiprt_ver(HIPRT_VERSION_STR);
|
||||
string hiprt_bc;
|
||||
hiprt_bc = hiprt_path + "\\hiprt" + hiprt_ver + "_amd_lib_win.bc";
|
||||
string hiprt_bc = hiprt_path + "\\dist\\bin\\Release\\hiprt" + hiprt_ver + "_amd_lib_win.bc";
|
||||
|
||||
string linker_command = string_printf("clang++ %s \"%s\" %s -o \"%s\"",
|
||||
linker_options.c_str(),
|
||||
|
||||
Reference in New Issue
Block a user