diff options
Diffstat (limited to 'libomptarget/deviceRTLs/nvptx/src/supporti.h')
-rw-r--r-- | libomptarget/deviceRTLs/nvptx/src/supporti.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libomptarget/deviceRTLs/nvptx/src/supporti.h b/libomptarget/deviceRTLs/nvptx/src/supporti.h index 2b267c3..4de2039 100644 --- a/libomptarget/deviceRTLs/nvptx/src/supporti.h +++ b/libomptarget/deviceRTLs/nvptx/src/supporti.h @@ -155,8 +155,7 @@ INLINE int IsTeamMaster(int ompThreadId) { return (ompThreadId == 0); } INLINE int GetNumberOfProcsInDevice() { if (isGenericMode()) return GetNumberOfWorkersInTeam(); - else - return GetNumberOfThreadsInBlock(); + return GetNumberOfThreadsInBlock(); } INLINE int GetNumberOfProcsInTeam() { return GetNumberOfProcsInDevice(); } |