예제 #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()]