def __cmake(self):
        """Setup cmake options based on users parameters"""

        # GPU architectures
        if self.__gpu_target:
            self.__cmake_opts.append('-DGPU_TARGET="{}"'.format(
                ' '.join(self.__gpu_target)))
Setup cmake options based on users parameters
hpccm/building_blocks/magma.py