Files
rocm-systems/tests/src/gcc/hipMalloc.c
T
Aditya Atluri 05c8aa1cf5 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
2017-02-07 13:15:36 -06:00

9 rindas
109 B
C

#include<hip/hip_runtime_api.h>
#include<stdio.h>
int main()
{
int *Ad;
hipMalloc((void**)&Ad, 1024);
}