Files
ef9a1ce7c3 [CUDA] add scale's nvcc compiler (nvidia & amd backends) (#8849)
Hi !

This PR adds the [scale nvcc
compiler](https://docs.scale-lang.com/stable/) to the CE live site for
both AMD and Nvidia backends

It works locally and shows host asm, device LLVMIR and:

 - PTX ans SASS for Nvidia backend,
 - AMDGPU code for AMD backend.
 
There is a bug in scale 1.7.1 that prevents the compilation with both
`-S, -o` flags. As a result I had to make some temp workarounds.

For Nvidia backend, PTX is written in the device `.s` file. I run it
through `ptax` and `nvidasm` to get the SASS. To get the LLVMIR, I
decode the device `.bc` file with `llvm-dis`.

For AMD backend, the `.s` file is the AMDGPU code, and the LLVMIR is
obtained the same way.

I plan to make the `.ts` script closer to say `nvcc.ts` once the flag
bugs are fixed in scale.

Let me know if there is anything I missed for the live site integration.

infra PR: https://github.com/compiler-explorer/infra/pull/2191
Issue:
https://github.com/compiler-explorer/compiler-explorer/issues/8865

I acknowledge the use of generative AI to help drafting the code of this
PR.

---------

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 22:14:19 +01:00
..
2025-07-28 10:34:46 -05:00
2026-03-21 21:21:40 +01:00
2024-10-22 21:41:44 +03:00
2025-08-11 11:14:26 -05:00
2023-03-17 19:01:39 +01:00
2024-04-16 21:26:53 +02:00
2025-02-06 11:10:34 -06:00
2025-02-06 11:10:34 -06:00
2026-02-23 14:02:44 +01:00
2025-09-12 14:23:49 -05:00
2025-11-01 12:54:31 +02:00
2026-06-04 23:41:19 +02:00
2025-01-28 10:00:04 -06:00
2025-05-11 16:15:21 -05:00
2024-12-19 16:32:13 -06:00
2025-07-28 10:34:46 -05:00
2025-09-12 14:23:49 -05:00
2025-07-28 10:34:46 -05:00
2026-05-23 14:47:16 +03:00
2026-06-19 11:31:32 -04:00
2024-10-27 15:28:38 +02:00
2025-07-28 10:34:46 -05:00
2025-11-01 12:54:31 +02:00
2026-02-08 15:02:47 -06:00