提交 2193b637 authored 作者: Josh Bleecher Snyder's avatar Josh Bleecher Snyder

off by one (character)

上级 8cc2f7e0
......@@ -50,7 +50,7 @@ def set_cuda_disabled():
#cuda_ndarray compile and import
cuda_path = os.path.abspath(os.path.split(__file__)[0])
cuda_files = ('cuda_ndarray.cuh', 'cuda_ndarray.cuh', 'conv_full_kernel.cu', 'conv_kernel.cu')
cuda_files = ('cuda_ndarray.cu', 'cuda_ndarray.cuh', 'conv_full_kernel.cu', 'conv_kernel.cu')
stat_times = [os.stat(os.path.join(cuda_path, cuda_file))[stat.ST_MTIME] for cuda_file in cuda_files]
date = max(stat_times)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论