projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbc0d4
)
[NFC][OpenMP][Offloading] Fix compilation warning caused by misuse of `static_cast`
author
Shilei Tian
<i@tianshilei.me>
Sat, 9 Jul 2022 00:59:37 +0000
(20:59 -0400)
committer
Shilei Tian
<i@tianshilei.me>
Sat, 9 Jul 2022 00:59:37 +0000
(20:59 -0400)
openmp/libomptarget/include/omptarget.h
patch
|
blob
|
history
diff --git
a/openmp/libomptarget/include/omptarget.h
b/openmp/libomptarget/include/omptarget.h
index
f472b86
..
381fb40
100644
(file)
--- a/
openmp/libomptarget/include/omptarget.h
+++ b/
openmp/libomptarget/include/omptarget.h
@@
-121,7
+121,7
@@
struct __tgt_kernel_arguments {
void **ArgMappers; // User-defined mappers, possibly null.
int64_t Tripcount; // Tripcount for the teams / distribute loop, 0 otherwise.
};
-static_assert(sizeof(__tgt_kernel_arguments) == 64
&&
"Invalid struct size");
+static_assert(sizeof(__tgt_kernel_arguments) == 64
,
"Invalid struct size");
/// This struct is a record of an entry point or global. For a function
/// entry point the size is expected to be zero