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
Ta zmiana jest zawarta w:
%! (template.HTML=Aditya Atluri)złożyło 2017-02-07 13:15:36 -06:00
1 rodzic 6d8007e28c
złożenie be6d01ebc3
7 plików zmienionych
+42 -11

Żadne pliki nie pasują do Twojego wyszukiwania

+8
Wyświetl plik
@@ -0,0 +1,8 @@
#include<hip/hip_runtime_api.h>
#include<iostream>
int main()
{
int *Ad;
hipMalloc((void**)&Ad, 1024);
}
+8
Wyświetl plik
@@ -0,0 +1,8 @@
#include<hip/hip_runtime_api.h>
#include<stdio.h>
int main()
{
int *Ad;
hipMalloc((void**)&Ad, 1024);
}
+2
Wyświetl plik
@@ -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();
}