Providing support and tracking feature status for LLVM/Clang. libc++ (CPU), Clang vs Nvidia's CUDA compiler compatibility (OpenCL/GPGPU) #3001
Replies: 4 comments 1 reply
-
CMake for CUDA+Clang support is as follows:
My real-world scenario is CMake 3.18 and Clang 12 trunk with libc++ crosscompiling for NVIDIA Tegra Xavier using CUDA 10.2.19. |
Beta Was this translation helpful? Give feedback.
-
@tambry , would get back to this later - I appreciate you extended explanation. As I promised - here is a bug with ONNX's benchmarks (CPU related, I suppose): Ivan |
Beta Was this translation helpful? Give feedback.
-
@askhade can you comment on this? |
Beta Was this translation helpful? Give feedback.
-
@advancedwebdeveloper : libc++ (CPU) - What is the exact ask here? Is it just understanding the current plan to migrate to the latest standard? Right now there is no plan but I think this is a good point... Right now ONNX uses C++11 and it is worth it to explore whether we can move to a later standard. Clang vs Nvidia's CUDA compiler compatibility (OpenCL/GPGPU): How is this related to ONNX builds? Regarding the bugs you created - I will go over them and try to prioritize them, however as you know ONNX thrives on community contributions and you are welcome to send a PR to fix these bugs. |
Beta Was this translation helpful? Give feedback.
-
@prasanthpul pointed me an an option of creating an issue - so I am opening one.
I am currently interested to get some testing and patch for ONNX on Windows 10 (32bit, 64bit) and Ubuntu 20 Linux (32bit, 64bit).
My extended interest assumes integration with https://nifi.apache.org/ and https://github.com/apache/nifi-minifi-cpp .
@tspannhw might suggest some cross-compilation scenarios and practical end-user use cases, for embedded boards.
I will open an issue on some bugs, which I am experiencing with protobuf - ONNX does not compile on Windows 10. But it does compile on Linux.
I will check specific versions of protobuf and reference protobuf's github issue with future comments to this discussion.
Computing on CPUs assume Clang compiler being capable of building against libc++ standard library . I am not sure about project specifics of ONNX and migration to more bleeding edge C++ standard (C++17...C++20) - so it would be appreciated if committers/maintainers would elaborate current/future plans.
Current status for libc++:
libc++ C++14 Status
libc++ C++17 Status
libc++ C++20 Status
. Current status for Clang:
C++ Support in Clang
.
I am targeting LLVM 11.0.0 RC2
It appears the newest version .
As for CUDA - there is some support for Clang's front-end.
It seems that CMake has some support here - so perhaps @tambry could explain in detail.
Ivan
Beta Was this translation helpful? Give feedback.
All reactions