[dtests] Separated C macros from CPP header file (#1429)

* Separated C macros from CPP header file

* Updated review comment


[ROCm/hip commit: cde5119c9e]
Tá an tiomantas seo le fáil i:
Sarbojit2019 údaraithe agus Maneesh Gupta tiomanta 2019-10-01 12:38:32 +05:30
1 tuismitheoir ef49c4f789
tiomantas bfa8867a64
2 comhad athraithe
+27 -26

Níor tháinig aon chomhaid le do chuardach

+1 -12
Féach ar an gComhad
@@ -27,21 +27,10 @@
*/
#include "hip/hip_runtime.h"
#include "../test_common.h"
#include <stdio.h>
#include "LaunchKernel.h"
#define HIPCHECK(error) \
{ \
hipError_t localError = error; \
if ((localError != hipSuccess) && (localError != hipErrorPeerAccessAlreadyEnabled)) { \
printf("%serror: '%s'(%d) from %s at %s:%d%s\n", "\x1B[31m", hipGetErrorString(localError), \
localError, #error, __FILE__, __LINE__, "\x1B[0m"); \
return false; \
} \
}
bool LaunchKernelArg()
{
dim3 blocks = {1,1,1};