Ejemplo n.º 1
0
    def __init__(self, name, file_path):
        self.full_path = os.path.join(
            get_cufiles_path(),
            file_path
        )

        Kernel.__init__(self, name)
Ejemplo n.º 2
0
def _get_univcaller_code():
    # For univariate pdfs
    path = os.path.join(get_cufiles_path(), 'univcaller.cu')
    return open(path).read()
Ejemplo n.º 3
0
def _get_mvcaller_code():
    # for multivariate pdfs
    path = os.path.join(get_cufiles_path(), 'mvcaller.cu')
    return open(path).read()
Ejemplo n.º 4
0
def _get_support_code():
    path = os.path.join(get_cufiles_path(), 'support.cu')
    return open(path).read()
Ejemplo n.º 5
0
def _get_univcaller_code():
    # For univariate pdfs
    path = os.path.join(get_cufiles_path(), 'univcaller.cu')
    return open(path).read()
Ejemplo n.º 6
0
def _get_mvcaller_code():
    # for multivariate pdfs
    path = os.path.join(get_cufiles_path(), 'mvcaller.cu')
    return open(path).read()
Ejemplo n.º 7
0
def _get_support_code():
    path = os.path.join(get_cufiles_path(), 'support.cu')
    return open(path).read()
Ejemplo n.º 8
0
    def __init__(self, name, filepath):
        self.full_path = os.path.join(get_cufiles_path(), filepath)

        Kernel.__init__(self, name)