diff --git a/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h b/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h index 1f6605790ef8..3388b04616f4 100644 --- a/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h +++ b/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h @@ -133,7 +133,7 @@ template NOINLINE static void log(const char *fmt, Arguments... parameters) { printf(fmt, (int)GetBlockIdInKernel(), (int)GetThreadIdInBlock(), - (int)GetWarpId(), (int)GetLaneId, parameters...); + (int)GetWarpId(), (int)GetLaneId(), parameters...); } #endif @@ -145,7 +145,7 @@ NOINLINE static void check(bool cond, const char *fmt, Arguments... parameters) { if (!cond) printf(fmt, (int)GetBlockIdInKernel(), (int)GetThreadIdInBlock(), - (int)GetWarpId(), (int)GetLaneId, parameters...); + (int)GetWarpId(), (int)GetLaneId(), parameters...); assert(cond); }