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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!