Skip to main content

Mojo function

is_amd_gpu

is_amd_gpu() -> Bool

Returns True if the target triple of the compiler is amdgcn-amd-amdhsa False otherwise.

Returns:

True if the triple target is amdgpu and False otherwise.