fromspackimport*classCnmem(Package):"""CNMem mempool for CUDA devices"""homepage="https://github.com/NVIDIA/cnmem"version('git',git='https://github.com/NVIDIA/cnmem.git',branch="master")definstall(self,spec,prefix):cmake('.',*std_cmake_args)make()make('install')