fixed hipHostGetFlags test

Dieser Commit ist enthalten in:
Aditya Atluri
2016-03-23 02:45:21 -05:00
Ursprung 36d0da99c1
Commit 362867d325
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
+2 -2
Datei anzeigen
@@ -130,7 +130,7 @@ int HIP_DISABLE_HW_COPY_DEP = 1;
// Compile code that generate
#ifndef COMPILE_TRACE_MARKER
#define COMPILE_TRACE_MARKER 1
#define COMPILE_TRACE_MARKER 0
#endif
@@ -2064,7 +2064,7 @@ hipError_t hipHostGetDevicePointer(void **devicePointer, void *hostPointer, unsi
hipError_t e = hipSuccess;
// Flags must be 0:
if (flags == 0) {
if (flags != 0) {
e = hipErrorInvalidValue;
} else {
hc::accelerator acc;