SWDEV-270007 - Fixing the hipMemoryAllocateCoherent test binary path for hipMemoryAllocateCoherentDriver test path.

Change-Id: Iae5363685d10fce32ff80ac5d6bfba460dc2b574


[ROCm/hip commit: f78522c226]
이 커밋은 다음에 포함됨:
kjayapra-amd
2021-01-25 20:35:49 -05:00
커밋한 사람 Karthik Jayaprakash
부모 89fec911e8
커밋 c01ec4e507
+6 -1
파일 보기
@@ -33,10 +33,15 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
using namespace std;
const string coherent_test_dir = string(".") + PATH_SEPERATOR_STR + "directed_tests"
+ PATH_SEPERATOR_STR + "runtimeApi" + PATH_SEPERATOR_STR
+ "memory";
string getRes() {
FILE* in;
char buff[512], buff_2[512];
string str = "./hipMemoryAllocateCoherent";
string coherent_test_str = "hipMemoryAllocateCoherent";
string str = coherent_test_dir + PATH_SEPERATOR_STR + coherent_test_str;
if (!(in = popen(str.c_str(), "r"))) {
exit(1);
}