From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/amd-gcn-options.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devdocs/gcc~13/amd-gcn-options.html (limited to 'devdocs/gcc~13/amd-gcn-options.html') diff --git a/devdocs/gcc~13/amd-gcn-options.html b/devdocs/gcc~13/amd-gcn-options.html new file mode 100644 index 00000000..852851e0 --- /dev/null +++ b/devdocs/gcc~13/amd-gcn-options.html @@ -0,0 +1,23 @@ +

3.19.3 AMD GCN Options

These options are defined specifically for the AMD GCN port.

+ -march=gpu +
-mtune=gpu
+

Set architecture type or tuning for gpu. Supported values for gpu are

fiji
+

Compile for GCN3 Fiji devices (gfx803).

gfx900
+

Compile for GCN5 Vega 10 devices (gfx900).

gfx906
+

Compile for GCN5 Vega 20 devices (gfx906).

gfx908
+

Compile for CDNA1 Instinct MI100 series devices (gfx908).

gfx90a
+

Compile for CDNA2 Instinct MI200 series devices (gfx90a).

+-msram-ecc=on +
-msram-ecc=off
-msram-ecc=any
+

Compile binaries suitable for devices with the SRAM-ECC feature enabled, disabled, or either mode. This feature can be enabled per-process on some devices. The compiled code must match the device mode. The default is ‘any’, for devices that support it.

+-mstack-size=bytes +
+

Specify how many bytes of stack space will be requested for each GPU thread (wave-front). Beware that there may be many threads and limited memory available. The size of the stack allocation may also have an impact on run-time performance. The default is 32KB when using OpenACC or OpenMP, and 1MB otherwise.

+-mxnack +
+

Compile binaries suitable for devices with the XNACK feature enabled. Some devices always require XNACK and some allow the user to configure XNACK. The compiled code must match the device mode. The default is ‘-mno-xnack’. At present this option is a placeholder for support that is not yet implemented.

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/AMD-GCN-Options.html +

+
-- cgit v1.2.3