Files
rocm-systems/hipamd/tests/src/g++/hipMalloc.cpp
T
Aditya Atluri be6d01ebc3 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 rader
110 B
C++

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