From c540a55d21a4d283b7cccd54d5676937837571d2 Mon Sep 17 00:00:00 2001 From: Saleel Kudchadker Date: Mon, 9 Mar 2020 11:28:55 -0700 Subject: [PATCH] Change HIPRTC Version to 9.0 Change-Id: I7e88df61248f0fe6e33c2315805f9e49a493cf29 --- vdi/hip_rtc.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vdi/hip_rtc.cpp b/vdi/hip_rtc.cpp index 4ec48f3af3..3ccab6f44c 100644 --- a/vdi/hip_rtc.cpp +++ b/vdi/hip_rtc.cpp @@ -242,8 +242,9 @@ hiprtcResult hiprtcCompileProgram(hiprtcProgram prog, int numOptions, const char std::ostringstream ostrstr; std::vector oarr(&options[0], &options[numOptions]); std::copy(oarr.begin(), oarr.end(), std::ostream_iterator(ostrstr, " ")); - ostrstr.str().append(" -DHIP_VERSION_MAJOR=").append(std::to_string(HIP_VERSION_MAJOR)); - ostrstr.str().append(" -DHIP_VERSION_MINOR=").append(std::to_string(HIP_VERSION_MINOR)); + + ostrstr.str().append(" -DHIP_VERSION_MAJOR=9"); + ostrstr.str().append(" -DHIP_VERSION_MINOR=0"); std::vector devices{hip::getCurrentDevice()->devices()[0]}; if (CL_SUCCESS != program->build(devices, ostrstr.str().c_str(), nullptr, nullptr)) {