-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Some amdgcn gpu models (e.g. gfx1031
) may or may not support XNACK
and SRAMECC
features, therefore LLVM has multiple settings for them (On
, Off
, Unsupported
and Any
). Since zig features are either on or off, there's no way to set them to Unsupported
because std.Target
has no concept of omitting features. making it impossible to compile for such gpu models because LLVM writes an error (with warning:
label/prefix..).
Related: llvm/llvm-project@2291bd1
Zulip discussion: #compiler > dynamic amdgcn target features
Metadata
Metadata
Assignees
Labels
breakingImplementing this issue could cause existing code to no longer compile or have different behavior.Implementing this issue could cause existing code to no longer compile or have different behavior.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.