diff --git a/deps/build.jl b/deps/build.jl index 513a68d3..d729f52d 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -2,6 +2,11 @@ using CUDAapi using CUDAdrv using LLVM +# FIXME: replace with an additional log level when we depend on 0.7+ +macro trace(ex...) + esc(:(@debug $(ex...))) +end + ## auxiliary routines diff --git a/src/CUDAnative.jl b/src/CUDAnative.jl index 0cdfb58b..2893e8e9 100644 --- a/src/CUDAnative.jl +++ b/src/CUDAnative.jl @@ -19,6 +19,11 @@ if !configured const cuda_driver_version = v"5.5" end +# FIXME: replace with an additional log level when we depend on 0.7+ +macro trace(ex...) + esc(:(@debug $(ex...))) +end + include("cgutils.jl") include("pointer.jl")