Example #1
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
Example #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
Example #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
Example #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
Example #5
0
 def c_header_dirs(self):
     return [pygpu.get_include()]
Example #6
0
 def c_header_dirs(self):
     return [pygpu.get_include()]
Example #7
0
 def c_header_dirs(self):
     return [pygpu.get_include(), os.path.dirname(__file__)]
Example #8
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
Example #9
0
 def c_header_dirs(self):
     return [
         os.path.dirname(__file__),
         gpuarray_helper_inc_dir(),
         pygpu.get_include()]
Example #10
0
 def c_header_dirs(self):
     return [gpuarray_helper_inc_dir(), pygpu.get_include()]
Example #11
0
 def c_header_dirs(self):
     return [
         os.path.dirname(__file__),
         gpuarray_helper_inc_dir(),
         pygpu.get_include()
     ]
Example #12
0
 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
Example #13
0
 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
Example #14
0
 def c_header_dirs(self):
     return [pygpu.get_include(), gpuarray_helper_inc_dir()]
Example #15
0
 def c_header_dirs(self, **kwargs):
     return [pygpu.get_include()]
Example #16
0
 def c_header_dirs(self, **kwargs):
     return [pygpu.get_include(), gpuarray_helper_inc_dir()]