Skip to content

Commit

Permalink
Update location of cuda, cudart library
Browse files Browse the repository at this point in the history
  • Loading branch information
moon6pence committed Jan 31, 2015
1 parent 24ee47c commit 923e05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CUDArt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import .CUDArt_gen
const rt = CUDArt_gen

# To load PTX code, we also need access to the driver API module utilities
const libcuda = find_library(["libcuda"], ["/usr/local/cuda-6.5"])
const libcuda = find_library(["libcuda"], ["/usr/lib/"])
if isempty(libcuda)
error("CUDA driver API library cannot be found")
end
Expand Down
2 changes: 1 addition & 1 deletion src/libcudart-6.5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include("../gen-6.5/gen_libcudart_h.jl")

typealias cudaError_t cudaError

const libcudart = find_library(["libcudart", "cudart"], ["/usr/local/cuda-6.5","/usr/local/cuda"])
const libcudart = find_library(["libcudart", "cudart"], ["/usr/local/cuda-6.5/lib", "/usr/local/cuda-6.5/lib64"])
if isempty(libcudart)
error("CUDA runtime API library cannot be found")
end
Expand Down

0 comments on commit 923e05c

Please sign in to comment.