Skip to content

Commit da2920a

Browse files
committed
Add a workaround for hiprtc on windows.
1 parent a6eb613 commit da2920a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Orochi/OrochiUtils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,8 @@ oroFunction OrochiUtils::getFunction( oroDevice device, const char* code, const
642642
std::lock_guard<std::recursive_mutex> lock( m_mutex );
643643

644644
std::vector<const char*> opts;
645-
SetupCompileOptions(device, optsIn, nullptr, opts);
645+
std::string architectureTarget;
646+
SetupCompileOptions(device, optsIn, &architectureTarget, opts);
646647

647648
oroFunction function;
648649
std::vector<char> codec;

0 commit comments

Comments
 (0)