示例#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
 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
 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
 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
 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()]