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


[ROCm/hip commit: 05c8aa1cf5]
Tento commit je obsažen v:
Aditya Atluri
2017-02-07 13:15:36 -06:00
rodič 172161a5b5
revize e0f5912899
7 změnil soubory, kde provedl 42 přidání a 11 odebrání
+2
Zobrazit soubor
@@ -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();
}