def checkout(self):
        self.pillar_dirs = {}
        for repo in self.remotes:
            cachedir = self.do_checkout(repo)
            if cachedir is not None:
                # Figure out which environment this remote should be assigned
                if repo.env:
                    env = repo.env
                else:
                    base_branch = self.opts['{0}_base'.format(self.role)]
                    env = 'base' if repo.branch == base_branch else repo.branch
                self.pillar_dirs[cachedir] = env
Reports the id of the GPU device used by CULA.
dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/GitPillar.checkout--crossover with--dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cula.py/culaGetExecutingDevice