Fixed HIP for C runtime

1. fixed constant memory test
2. added runtime gcc/g++ test
3. added fix for runtime with gcc/g++

Change-Id: Ie14dad6633411b188bdeea044e140b6d5beabe16
このコミットが含まれているのは:
Aditya Atluri
2017-02-07 13:15:36 -06:00
コミット be6d01ebc3
7個のファイルの変更42行の追加11行の削除
+2
ファイルの表示
@@ -26,6 +26,7 @@ THE SOFTWARE.
#include<hip/hip_runtime.h>
#include<hip/hip_runtime_api.h>
#include<iostream>
#include "test_common.h"
#define HIP_ASSERT(status) \
assert(status == hipSuccess)
@@ -62,4 +63,5 @@ int main()
{
assert(A[i] == B[i]);
}
passed();
}