Files
Nim/doc
Andrew Brower dc46350fa1 Add support for nvcc & hipcc (cuda/rocm) (#23805)
I've been working on making some basic cuda examples work, both with
cuda (nvcc) and with AMD HIP (hipcc) https://github.com/monofuel/hippo

- hipcc is just a drop-in replacement for clang and works out of the box
with clang settings in Nim. hipcc is capable of compiling for AMD ROCm
or to CUDA, depending on how HIP_PLATFORM is set.
- nvcc is a little quirky. we can use `-x cu` to tell it to handle nim's
`.cpp` files as if they were `.cu` files. nvcc expects all backend
compiler flags to be wrapped with a special `-Xcompiler=""` flag when
compiling and also when linking.

I manually tested on a linux desktop with amd and a laptop with nvidia.
2024-07-08 11:17:04 +02:00
..
2023-07-02 22:36:05 +02:00
2023-10-25 20:53:15 +08:00
2022-08-12 14:33:43 -04:00
2023-09-27 05:49:17 +02:00
2024-01-12 20:50:20 +08:00
2023-10-25 20:53:15 +08:00
2022-06-04 07:03:03 +02:00
2023-08-22 18:31:21 +02:00
2023-02-07 16:15:44 +08:00
2023-03-03 23:37:12 +01:00
2023-07-02 22:36:05 +02:00
2023-07-02 22:36:05 +02:00
2022-10-05 14:03:10 -04:00
2023-07-02 22:36:05 +02:00

============================
Nim's documentation system
============================

This folder contains Nim's documentation. The documentation
is written in a format called *Markdown*, a markup language that reads
like ASCII and can be converted to HTML automatically!