Files
rocm-systems/projects/clr/hipamd/tests/src/gcc/hipMalloc.c
T
Aditya Atluri d191eac0e2 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/clr commit: be6d01ebc3]
2017-02-07 13:15:36 -06:00

9 строки
109 B
C

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