2
0

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
Este cometimento está contido em:
Aditya Atluri
2017-02-07 13:15:36 -06:00
ascendente 6d8007e28c
cometimento be6d01ebc3
7 ficheiros modificados com 42 adições e 11 eliminações
+8
Ver ficheiro
@@ -0,0 +1,8 @@
#include<hip/hip_runtime_api.h>
#include<iostream>
int main()
{
int *Ad;
hipMalloc((void**)&Ad, 1024);
}
+8
Ver ficheiro
@@ -0,0 +1,8 @@
#include<hip/hip_runtime_api.h>
#include<stdio.h>
int main()
{
int *Ad;
hipMalloc((void**)&Ad, 1024);
}
+2
Ver ficheiro
@@ -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();
}