Target RejectNegative Negative(mtune=) Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_GFX90A)
Specify the name of the target GPU.
+; mkoffload passes -m32, -m64, and -mgomp to the offload compiler, but
+; nothing in the offload compiler actually uses any of these flags.
+; Maybe they're there for compatibility with other offload backends,
+; or maybe we can just delete these. In any case, there's no point in
+; documenting them for users.
m32
-Target RejectNegative InverseMask(ABI64)
+Target RejectNegative InverseMask(ABI64) Undocumented
Generate code for a 32-bit ABI.
m64
-Target RejectNegative Mask(ABI64)
+Target RejectNegative Mask(ABI64) Undocumented
Generate code for a 64-bit ABI.
mgomp
-Target RejectNegative
+Target RejectNegative Undocumented
Enable OpenMP GPU offloading.
+; This option seems not to ever have done anything useful, or to have
+; been documented.
+Variable
bool flag_bypass_init_error = false
mbypass-init-error
-Target RejectNegative Var(flag_bypass_init_error)
+Target RejectNegative Var(flag_bypass_init_error) Undocumented
+Variable
int stack_size_opt = -1
mstack-size=
-Target RejectNegative Joined UInteger Var(stack_size_opt) Init(-1)
+Target RejectNegative Joined UInteger Var(stack_size_opt) Init(-1) Undocumented
Obsolete; use GCN_STACK_SIZE at runtime.
+Variable
int gang_private_size_opt = -1
mgang-private-size=
-msplit-vecmove-early -m1reg-@var{reg}}
@emph{AMD GCN Options} (@ref{AMD GCN Options})
-@gccoptlist{-march=@var{gpu} -mtune=@var{gpu} -mstack-size=@var{bytes}
+@gccoptlist{-march=@var{gpu} -mtune=@var{gpu}
+-mgang-private-size=@var{bytes}
+-msram-ecc=@r{[}on@r{|}off@r{|}any@r{]}
+-mxnack=@r{[}on@r{|}off@r{|}any@r{]}
-Wopenacc-dims}
@emph{ARC Options} (@ref{ARC Options})
gfx1102, gfx1103, gfx1150, gfx1151, gfx1152, and gfx1153.
@end table
+@opindex mgang-private-size
+@item -mgang-private-size=@var{bytes}
+Set the amount of local data-share (LDS) memory to reserve for
+gang-private variables. The default is 512.
+
@opindex msram-ecc
@item -msram-ecc=on
@itemx -msram-ecc=off
devices. The compiled code must match the device mode. The default is
@samp{any}, for devices that support it.
-@opindex mstack-size
-@item -mstack-size=@var{bytes}
-Specify how many @var{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.
-
@opindex mxnack
@item -mxnack=on
@itemx -mxnack=off
@opindex Wopenacc-dims
@opindex Wno-openacc-dims
@item -Wopenacc-dims
-Warn about invalid OpenACC dimensions.
+@itemx -Wno-openacc-dims
+Control warnings about invalid OpenACC dimensions.
@end table