コード例 #1
0
ファイル: type.py プロジェクト: HapeMask/Theano
 def c_header_dirs(self):
     other_dirs = []
     for dir_to_add in ['Library/include', 'include']:
         alt_inc_dir = os.path.abspath(os.path.normpath(sys.exec_prefix + '/' + dir_to_add))
         if os.path.exists(alt_inc_dir) and os.path.isdir(alt_inc_dir):
             other_dirs.append(alt_inc_dir)
     return [pygpu.get_include(), np.get_include()] + other_dirs
コード例 #2
0
 def c_header_dirs(self):
     other_dirs = []
     for dir_to_add in ['Library/include', 'include']:
         alt_inc_dir = os.path.abspath(os.path.normpath(sys.exec_prefix + '/' + dir_to_add))
         if os.path.exists(alt_inc_dir) and os.path.isdir(alt_inc_dir):
             other_dirs.append(alt_inc_dir)
     return [pygpu.get_include(), np.get_include()] + other_dirs
コード例 #3
0
ファイル: linalg.py プロジェクト: tianna1121/08matlab
 def c_header_dirs(self):
     dirs = [
         gpuarray_helper_inc_dir(),
         pygpu.get_include(), config.cuda.include_path
     ]
     if config.magma.include_path:
         dirs.append(config.magma.include_path)
     return dirs
コード例 #4
0
 def c_header_dirs(self, **kwargs):
     other_dirs = []
     for dir_to_add in ("Library/include", "include"):
         alt_inc_dir = os.path.abspath(
             os.path.normpath(sys.exec_prefix + "/" + dir_to_add))
         if os.path.exists(alt_inc_dir) and os.path.isdir(alt_inc_dir):
             other_dirs.append(alt_inc_dir)
     return [pygpu.get_include(), np.get_include()] + other_dirs
コード例 #5
0
ファイル: blas.py プロジェクト: MatthieuCourbariaux/Theano
 def c_header_dirs(self):
     return [pygpu.get_include()]
コード例 #6
0
ファイル: type.py プロジェクト: aalmah/Theano
 def c_header_dirs(self):
     return [pygpu.get_include()]
コード例 #7
0
ファイル: reduction.py プロジェクト: zenus/Theano
 def c_header_dirs(self):
     return [pygpu.get_include(), os.path.dirname(__file__)]
コード例 #8
0
ファイル: linalg.py プロジェクト: Theano/Theano
 def c_header_dirs(self):
     dirs = [gpuarray_helper_inc_dir(), pygpu.get_include(),
             config.cuda.include_path]
     if config.magma.include_path:
         dirs.append(config.magma.include_path)
     return dirs
コード例 #9
0
ファイル: sort.py プロジェクト: gvtulder/Theano
 def c_header_dirs(self):
     return [
         os.path.dirname(__file__),
         gpuarray_helper_inc_dir(),
         pygpu.get_include()]
コード例 #10
0
ファイル: pool.py プロジェクト: nitish-awasthi/Theano-PyMC
 def c_header_dirs(self):
     return [gpuarray_helper_inc_dir(), pygpu.get_include()]
コード例 #11
0
 def c_header_dirs(self):
     return [
         os.path.dirname(__file__),
         gpuarray_helper_inc_dir(),
         pygpu.get_include()
     ]
コード例 #12
0
ファイル: linalg.py プロジェクト: HapeMask/Theano
 def c_header_dirs(self):
     dirs = [os.path.dirname(__file__), pygpu.get_include()]
     if config.magma.include_path:
         dirs.append(config.magma.include_path)
     return dirs
コード例 #13
0
ファイル: linalg.py プロジェクト: devhliu/SAKE
 def c_header_dirs(self):
     dirs = [os.path.dirname(__file__), pygpu.get_include()]
     if config.magma.include_path:
         dirs.append(config.magma.include_path)
     return dirs
コード例 #14
0
ファイル: reduction.py プロジェクト: DEVESHTARASIA/Theano
 def c_header_dirs(self):
     return [pygpu.get_include(), gpuarray_helper_inc_dir()]
コード例 #15
0
 def c_header_dirs(self, **kwargs):
     return [pygpu.get_include()]
コード例 #16
0
 def c_header_dirs(self, **kwargs):
     return [pygpu.get_include(), gpuarray_helper_inc_dir()]