Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LG with one nit.
| openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
|---|---|---|
| 1205 | These functions are C interfaces. Do we want to use C style here? | |
| openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
|---|---|---|
| 1205 | Because sed apparently doesn't distinguish. I try to manually go through and adjust before committing. | |
| openmp/libomptarget/plugins/remote/server/Server.cpp | ||
|---|---|---|
| 167 | I don't think this is caused by this patch, but I'm unable to build this using clang trunk (I'm building openmp as a runtime). /work/llvm-src/openmp/libomptarget/plugins/remote/server/Server.cpp:169:9: error: non-const lvalue reference to type 'AsyncInfoTy' cannot bind to a temporary of type '__tgt_async_info *'
(__tgt_async_info *)AsyncInfo));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/llvm-src/openmp/libomptarget/src/device.h:223:36: note: passing argument to parameter 'AsyncInfo' here
int32_t synchronize(AsyncInfoTy &AsyncInfo);
^Has anyone else run into this? What version of clang (or gcc?) do you commonly use to build this code? Thanks! | |
| openmp/libomptarget/plugins/remote/server/Server.cpp | ||
|---|---|---|
| 167 | @atmnpatel was looking into this. I forgot to rename that part. | |
These functions are C interfaces. Do we want to use C style here?