def __init__(self, name, file_path): self.full_path = os.path.join( get_cufiles_path(), file_path ) Kernel.__init__(self, name)
def _get_univcaller_code(): # For univariate pdfs path = os.path.join(get_cufiles_path(), 'univcaller.cu') return open(path).read()
def _get_mvcaller_code(): # for multivariate pdfs path = os.path.join(get_cufiles_path(), 'mvcaller.cu') return open(path).read()
def _get_support_code(): path = os.path.join(get_cufiles_path(), 'support.cu') return open(path).read()
def __init__(self, name, filepath): self.full_path = os.path.join(get_cufiles_path(), filepath) Kernel.__init__(self, name)