[BUILD] Windows build pass on LLVM/CUDA/OPENCL (#57)
This commit is contained in:
@@ -46,7 +46,8 @@ def compile_source(code, target="ptx", arch=None,
|
||||
file_target = path_target if path_target else temp_target
|
||||
cmd = ["nvcc"]
|
||||
cmd += ["--%s" % target, "-O3"]
|
||||
cmd += ["-arch", arch]
|
||||
if arch:
|
||||
cmd += ["-arch", arch]
|
||||
cmd += ["-o", file_target]
|
||||
|
||||
if options:
|
||||
|
||||
@@ -44,7 +44,7 @@ def find_lib_path():
|
||||
raise RuntimeError('Cannot find the files.\n' +
|
||||
'List of candidates:\n' + str('\n'.join(dll_path)))
|
||||
if use_runtime:
|
||||
sys.stderr.write("Loading runtime library... this is execution only\n")
|
||||
sys.stderr.write("Loading runtime library %s... exec only\n" % lib_found[0])
|
||||
sys.stderr.flush()
|
||||
return lib_found
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class Module(ModuleBase):
|
||||
modules : list of Modules
|
||||
The module
|
||||
"""
|
||||
nmod = ImportsSize(self)
|
||||
nmod = _ImportsSize(self)
|
||||
return [_GetImport(self, i) for i in range(nmod)]
|
||||
|
||||
def save(self, file_name, fmt=""):
|
||||
|
||||
Reference in New Issue
Block a user