Skip to main content
Log in

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.