added tests to check nvcc runtime api output

Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f


[ROCm/hip commit: 428041cfc2]
Tento commit je obsažen v:
Aditya Atluri committed 2016-11-19 21:36:28 -06:00
1 rodič 7d583dde51
revize bab6543ea9
11 files changed
+87 -2

No files matched your search

+8
Zobrazit soubor
@@ -0,0 +1,8 @@
#include <hip/hip_runtime_api.h>
#include "test_common.h"
int main()
{
HIP_PRINT_STATUS(hipGetDevice(NULL));
HIP_PRINT_STATUS(hipGetDevice(0));
}