added host flags to hipDeviceBody test

[ROCm/clr commit: e652426715]
Dieser Commit ist enthalten in:
Aditya Atluri
2016-03-29 09:27:57 -05:00
Ursprung f17131c0d4
Commit b22b03fba3
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
@@ -1,5 +1,5 @@
#include"hipDeviceHeader.h"
__device__ int add(int &a, int &b){
__host__ __device__ int add(int &a, int &b){
return a+b;
}
@@ -1,6 +1,7 @@
#ifndef HIPDEVICEHEADER_H
#define HIPDEVICEHEADER_H
#include"test_common.h"
__device__ int add(int a, int b);
__host__ __device__ int add(int a, int b);
#endif