pystencils.codegen.target.Target.is_gpu#
- Target.is_gpu()#
Determine if this target is a GPU target.
This refers to targets for the CUDA and HIP family of platforms.
Target.SYCL
is not a GPU target.- Return type:
Determine if this target is a GPU target.
This refers to targets for the CUDA and HIP family of platforms.
Target.SYCL
is not a GPU target.