[Mlir-commits] [mlir] 4d69bcb - [mlir][openacc][NFC] Fix comment about OpenACCExecMapping

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Aug 25 12:11:45 PDT 2020


Author: clementval
Date: 2020-08-25T15:11:05-04:00
New Revision: 4d69bcb12fa7c89ff68c2ede5869faeb2d294ad8

URL: https://github.com/llvm/llvm-project/commit/4d69bcb12fa7c89ff68c2ede5869faeb2d294ad8
DIFF: https://github.com/llvm/llvm-project/commit/4d69bcb12fa7c89ff68c2ede5869faeb2d294ad8.diff

LOG: [mlir][openacc][NFC] Fix comment about OpenACCExecMapping

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/OpenACC/OpenACC.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/OpenACC/OpenACC.h b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
index 8d3798103b0c..399db74fae2c 100644
--- a/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
+++ b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
@@ -35,7 +35,7 @@ namespace acc {
 ///
 /// Value can be combined bitwise to reflect the mapping applied to the
 /// construct. e.g. `acc.loop gang vector`, the `gang` and `vector` could be
-/// combined and the final mapping value would be 5 (4 & 1).
+/// combined and the final mapping value would be 5 (4 | 1).
 enum OpenACCExecMapping { NONE = 0, VECTOR = 1, WORKER = 2, GANG = 4, SEQ = 8 };
 
 } // end namespace acc


        


More information about the Mlir-commits mailing list