Add HPC SDK 24.11 to etc/config/c.amazon.properties
Add HPC SDK 24.11 to etc/config/c++.amazon.properties
Add HPC SDK 24.11 to etc/config/fortran.amazon.properties
Add CUDA 12.6.2 to etc/config/cuda.amazon.properties
cudax is a sub library of CCCL (CUDA Core Compute Libraries) and
contains experimental CUDA library features. cudax is shipping as part
of CCCL since version 2.5.0.
The CCCL (CUDA Core Compute Libraries) are currently only availabel for
the CUDA language. However, they also contain many parts that compile
just fine with plain C++.
This PR makes CCCL available for the C++ language as well. As a drive-by
fix the recent name change from CUDA C++ Core Libraries to CUDA Core
Compute Libraries is appiled (we also ship Python libraries now).
Updated OSACA from v0.5.2 to v0.6.1, which includes bug fixes, more
supported instructions for existing architectures and new architectures
like Intel Sapphire Rapids, Nvidia Grace Superchip/Neoverse V2, and AMD
Zen 4.
Depends on
- https://github.com/compiler-explorer/clang-builder/pull/73
- https://github.com/compiler-explorer/infra/pull/1411
This is experimental work on an implementation for
[P2688](https://wg21.link/p2688).
It implements most of the parsing and constant evaluation logic.
The following is a sample of its current capabilities:
```rust
enum Color { Red, Blue };
struct S {
Color color;
int xs[2];
};
struct Result {
Color color;
int i;
constexpr bool operator==(const Result&) const noexcept = default;
};
constexpr auto test_nested_decomposition_pattern(const S& s) {
return s match -> Result {
[let c, [0, 0]] => {c, -1};
[let c, [let x, 0]] => {c, x * 2};
[let c, [0, let y]] => {c, y * 4};
let [c, [x, y]] => {c, x * y};
};
}
static_assert(test_nested_decomposition_pattern({Red, {0, 0}}) == Result{Red, -1});
static_assert(test_nested_decomposition_pattern({Red, {0, 0}}) == Result{Red, -1});
static_assert(test_nested_decomposition_pattern({Red, {0, 0}}) != Result{Red, 0});
static_assert(test_nested_decomposition_pattern({Red, {1, 0}}) == Result{Red, 2});
static_assert(test_nested_decomposition_pattern({Red, {1, 0}}) != Result{Red, 3});
static_assert(test_nested_decomposition_pattern({Red, {2, 0}}) == Result{Red, 4});
static_assert(test_nested_decomposition_pattern({Blue, {0, 1}}) == Result{Blue, 4});
static_assert(test_nested_decomposition_pattern({Blue, {0, 2}}) == Result{Blue, 8});
static_assert(test_nested_decomposition_pattern({Blue, {2, 3}}) == Result{Blue, 6});
static_assert(test_nested_decomposition_pattern({Blue, {3, 4}}) == Result{Blue, 12});
```
Currently the clangir compiler is implemented by a special clang variant
whose compilation options list gets appended with `-Xclang -fclangir
-Xclang -emit-cir`. This introduces a problem: we no longer gets access
to its LLVM IR output and assembly output because `-emit-cir` is an
exclusive option.
This patch resolves this problem by introducing a new ClangIR pane,
similar to the LLVM IR pane or Rust MIR pane. A new output kind named
`ClangIR` is added to the "Add new..." drop down menu and it toggles the
ClangIR pane. This patch then removes `-Xclang -emit-cir` from the
options list of the clangir compiler. The clangir compiler will then
output assembly code just like other clang compilers. The removed
options will be added back when compiled from the ClangIR pane.
In pr #6793, we misconfigured the `target`. This patch addresses and
corrects the problem. Additionally, the GCC toolchain has been updated
to handle the `ld` linker’s mismatch with the latest relocation type.
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
Signed-off-by: Qi HU <github@spcsky.com>
Infra PR: https://github.com/compiler-explorer/infra/pull/1388
This PR introduces Quill, a low-latency logging library, to Compiler
Explorer. As this is my first contribution, please let me know if
there's anything that needs adjustment. Thank you!