* make nvcc show the device asm view button, stop after compiling host assembly
* keep and extract ptx device code
* paper over some typescript compile errors (maybe mitigating orchidjs/tom-select#500, orchidjs/tom-select#501)
* await on promise-returning methods
* use gcc objdump for nvcc host code, add nvdisasm to disassemble SASS .cubin
* append device ASM lines to result ASM so they're also colourized
* append device ASM to all ASM
* automatically open the device pane if the compiler supports emitting device ASM
* save device view open boolean in compiler state
* make the nvcc compiler return all PTX and SASS results as separate devices
* ensure line hover highlights propagate from editor to compiler panes, and are re-applied when the user changes the selected device
* update cuda properties
* Use non-private ways of context menu
and fix up some things where previously we had odd null checks
that somehow became .get() (which means it worked exactly once)
* Some tweaks
* Fix Editor not being able to load full links
* Better type for this.filename in compiler.ts
* Updates editor.ts and improves compilation types
* Fix some of the type issues, lots still remain
* fixes to language selection & refactoring of hub and some inits
* fix flow of events
* Fix llvm opt handling (cc @jeremy-rifkin)
Co-authored-by: partouf <partouf@gmail.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
SH GCC 9.5 and 12.2 were linux-* and not supporting sh2.
We decided to change these compilers to elf-* with sh2 support.
This also causes the removal of fortran as it's not available for elf targets.
refs #94
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
The "auto NSDMI" branch has not actually fully supported
non static members in a while, as the patch was initially written
for clang 9, and I have not gotten around to fix it.
The branch now contains a number of experimentals proposals
including
* parameter pack indexing (https://isocpp.org/files/papers/D2632R0.pdf)
* magic char8_t cast function
* _ for variable names
* non trailing parameter packs
* constexpr structured bindings
* constexpr cast from void*
* And more to come
P2632 is the paper presenting the majority of these features,
and the current plan is to implement as much of it in clang as possible.
The wg21.link link will become active at publication of the paper next week.