From eb2e7cd0b3494e069d7a62df1f3c17883636ecf7 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 16 Feb 2017 15:41:24 +0100 Subject: [PATCH] Fix invalid precompilation directives. --- src/precompile.jl | 80 +++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/src/precompile.jl b/src/precompile.jl index c0ce22f..0aaabff 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -12,14 +12,14 @@ function _precompile_() precompile(CUDArt.launch, (Array{Any, 1}, CUDArt.CuFunction, Int64, Int64, Tuple{CUDArt.CudaArray{Int32, 2}, Int64, Int32},)) precompile(CUDArt.launch, (Array{Any, 1}, CUDArt.CuFunction, Int64, Tuple{Int64, Int64}, Tuple{CUDArt.CudaPitchedArray{Int32, 2}, Int64, Int64, Int64, UInt64, Int32},)) precompile(CUDArt.launch, (Array{Any, 1}, CUDArt.CuFunction, Int64, Int64, Tuple{CUDArt.CudaArray{Int64, 1}, Int64, Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Type{Float64}, Tuple{Int64, Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Type{Int64}, Tuple{Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Type{UInt16}, Tuple{Int64, Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Type{Int32}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaPitchedArray, (Type{Float64}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaPitchedArray, (Type{Int64}, Tuple{Int64},)) + precompile(CUDArt.CudaPitchedArray, (Type{UInt16}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaPitchedArray, (Type{Int32}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (Array{Any, 1}, CUDArt.CudaArray{Int64, 1}, Array{Int64, 1},)) precompile(CUDArt.cudacopy!, (Array{Any, 1}, CUDArt.CudaPitchedArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.cudacopy!, (Array{Any, 1}, CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Type{Float32}, Tuple{Int64},)) + precompile(CUDArt.CudaPitchedArray, (Type{Float32}, Tuple{Int64},)) precompile(CUDArt.copy!, (Array{Any, 1}, CUDArt.CudaArray{Float64, 2}, Array{Float64, 2},)) precompile(CUDArt.cudacopy!, (Array{Any, 1}, Array{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.cudacopy!, (Array{Any, 1}, CUDArt.CudaPitchedArray{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) @@ -36,16 +36,16 @@ function _precompile_() precompile(CUDArt.devices, (Function, Array{Int64, 1},)) precompile(CUDArt.close, (Int64,)) precompile(CUDArt.close, (Array{Int64, 1},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Type{Int64}, Tuple{Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Type{UInt16}, Tuple{Int64, Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Type{Int32}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaArray, (Type{Int64}, Tuple{Int64},)) + precompile(CUDArt.CudaArray, (Type{UInt16}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaArray, (Type{Int32}, Tuple{Int64, Int64},)) precompile(CUDArt.size, (CUDArt.CudaPitchedArray{Float64, 2}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Type{Float32}, Tuple{Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Type{Float64}, Tuple{Int64, Int64},)) + precompile(CUDArt.CudaArray, (Type{Float32}, Tuple{Int64},)) + precompile(CUDArt.CudaArray, (Type{Float64}, Tuple{Int64, Int64},)) precompile(CUDArt.size, (CUDArt.CudaPitchedArray{Int32, 2}, Int64,)) precompile(CUDArt.capability, (Int64,)) precompile(CUDArt.checkstrides_pitched, (CUDArt.CudaArray{UInt16, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Array{Float64, 2},)) + precompile(CUDArt.CudaArray, (Array{Float64, 2},)) precompile(CUDArt.size, (CUDArt.CudaPitchedArray{UInt16, 2}, Int64,)) precompile(CUDArt.size, (CUDArt.CudaPitchedArray{Int64, 1}, Int64,)) precompile(CUDArt.stride, (CUDArt.CudaPitchedArray{Float64, 2}, Int64,)) @@ -66,38 +66,38 @@ function _precompile_() precompile(CUDArt.pitchedptr, (Array{Int32, 2},)) precompile(CUDArt.checkstrides_pitched, (Array{Int64, 1},)) precompile(CUDArt.pitchedptr, (Array{UInt16, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CuModule}, Function, ASCIIString,)) + precompile(CUDArt.CuModule, (Function, ASCIIString,)) precompile(CUDArt.pitchedptr, (Array{Int64, 1},)) precompile(CUDArt.free, (CUDArt.CudaPitchedArray{Int64, 1},)) precompile(CUDArt.get_dim_y, (Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaPos}, Type{Int32}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaPos, (Type{Int32}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.copy!, (Array{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaExtent}, Type{Int32}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaExtent, (Type{Int32}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (Array{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaPos}, Type{Float64}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaPos, (Type{Float64}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, Array{Int32, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.similar, (CUDArt.CudaPitchedArray{Int64, 1}, Tuple{Int64},)) - precompile(CUDArt.CUDArt_gen.call, (Type{CUDArt.CUDArt_gen.cudaMemcpy3DParms}, Ptr{Void}, CUDArt.CUDArt_gen.cudaPos, CUDArt.CUDArt_gen.cudaPitchedPtr, Ptr{Void}, CUDArt.CUDArt_gen.cudaPos, CUDArt.CUDArt_gen.cudaPitchedPtr, CUDArt.CUDArt_gen.cudaExtent, UInt32,)) + precompile(Type{CUDArt.CUDArt_gen.cudaMemcpy3DParms}, (Ptr{Void}, CUDArt.CUDArt_gen.cudaPos, CUDArt.CUDArt_gen.cudaPitchedPtr, Ptr{Void}, CUDArt.CUDArt_gen.cudaPos, CUDArt.CUDArt_gen.cudaPitchedPtr, CUDArt.CUDArt_gen.cudaExtent, UInt32,)) precompile(CUDArt.similar, (CUDArt.CudaArray{Int64, 1}, Tuple{Int64},)) precompile(CUDArt.copy!, (Array{Int64, 1}, Tuple{Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{Int64, 1}, Tuple{Base.UnitRange{Int64}},)) precompile(CUDArt.copy!, (Array{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Int64, 1}, Tuple{Base.UnitRange{Int64}}, Array{Int64, 1}, Tuple{Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaExtent}, Type{UInt16}, Tuple{Int64, Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaPos}, Type{UInt16}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaExtent, (Type{UInt16}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaPos, (Type{UInt16}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{Float64, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaExtent}, Type{Float64}, Tuple{Int64, Int64},)) + precompile(CUDArt.CUDArt_gen.cudaExtent, (Type{Float64}, Tuple{Int64, Int64},)) precompile(CUDArt.copy!, (CUDArt.CudaArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaPitchedArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}, CUDArt.CudaArray{UInt16, 2}, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}},)) precompile(CUDArt.free, (CUDArt.CudaPitchedArray{Float32, 1},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray}, Base.UnitRange{Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CuFunction}, CUDArt.CuModule, ASCIIString,)) + precompile(CUDArt.CudaArray, (Base.UnitRange{Int64},)) + precompile(CUDArt.CuFunction, (CUDArt.CuModule, ASCIIString,)) precompile(CUDArt.similar, (CUDArt.CudaPitchedArray{Int64, 1},)) precompile(CUDArt.similar, (CUDArt.CudaArray{Int64, 1},)) precompile(CUDArt.free, (CUDArt.CudaPitchedArray{Float64, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaExtent}, Type{Int64}, Tuple{Int64},)) - precompile(CUDArt.call, (Type{CUDArt.CUDArt_gen.cudaPos}, Type{Int64}, Tuple{Int64},)) + precompile(CUDArt.CUDArt_gen.cudaExtent, (Type{Int64}, Tuple{Int64},)) + precompile(CUDArt.CUDArt_gen.cudaPos, (Type{Int64}, Tuple{Int64},)) precompile(CUDArt.free, (CUDArt.CudaPtr{Float32},)) precompile(CUDArt.getindex, (CUDArt.HostArray{Int32, 2}, Int64, Int64,)) precompile(CUDArt.free, (CUDArt.CudaPtr{Int32},)) @@ -106,35 +106,35 @@ function _precompile_() precompile(CUDArt.to_host, (CUDArt.CudaArray{Float64, 2},)) precompile(CUDArt.free, (CUDArt.CudaPtr{UInt16},)) precompile(CUDArt.free, (CUDArt.CudaPtr{UInt8},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray}, Base.UnitRange{Int64},)) + precompile(CUDArt.CudaPitchedArray, (Base.UnitRange{Int64},)) precompile(CUDArt.to_host, (CUDArt.CudaPitchedArray{Int32, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{Int64},)) + precompile(CUDArt.CudaPtr, (Ptr{Int64},)) precompile(CUDArt.to_host, (CUDArt.CudaPitchedArray{UInt16, 2},)) precompile(CUDArt.pointer, (CUDArt.CudaPitchedArray{Int64, 1},)) precompile(CUDArt.to_host, (CUDArt.CudaPitchedArray{Float64, 2},)) precompile(CUDArt.to_host, (CUDArt.CudaPitchedArray{Int64, 1},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray{Float32, 1}}, CUDArt.CudaPtr{Float32}, Tuple{Int64}, Int64,)) + precompile(CUDArt.CudaArray{Float32, 1}, (CUDArt.CudaPtr{Float32}, Tuple{Int64}, Int64,)) precompile(CUDArt.copy, (CUDArt.CudaPtr{Float64},)) precompile(CUDArt.to_host, (CUDArt.CudaArray{Int32, 2},)) precompile(CUDArt.to_host, (CUDArt.CudaArray{UInt16, 2},)) precompile(CUDArt.to_host, (CUDArt.CudaArray{Int64, 1},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{UInt8},)) + precompile(CUDArt.CudaPtr, (Ptr{UInt8},)) precompile(CUDArt.device, (Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray{UInt16, 2}}, CUDArt.CudaPtr{UInt16}, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaArray{UInt16, 2}, (CUDArt.CudaPtr{UInt16}, Tuple{Int64, Int64}, Int64,)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Float64, 2}, Array{Float64, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{Int32},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{UInt16},)) + precompile(CUDArt.CudaPtr, (Ptr{Int32},)) + precompile(CUDArt.CudaPtr, (Ptr{UInt16},)) precompile(CUDArt.free, (CUDArt.CudaArray{Float64, 2},)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray{Int32, 2}}, CUDArt.CudaPtr{Int32}, Tuple{Int64, Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{Float32},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPtr}, Ptr{Float64},)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray{Int64, 1}}, CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray{Float64, 2}}, CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray{Float32, 1}}, CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray{UInt16, 2}}, CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray{Float64, 2}}, CUDArt.CudaPtr{Float64}, Tuple{Int64, Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaPitchedArray{Int32, 2}}, CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) - precompile(CUDArt.call, (Type{CUDArt.CudaArray{Int64, 1}}, CUDArt.CudaPtr{Int64}, Tuple{Int64}, Int64,)) + precompile(CUDArt.CudaArray{Int32, 2}, (CUDArt.CudaPtr{Int32}, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaPtr, (Ptr{Float32},)) + precompile(CUDArt.CudaPtr, (Ptr{Float64},)) + precompile(CUDArt.CudaPitchedArray{Int64, 1}, (CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64}, Int64,)) + precompile(CUDArt.CudaPitchedArray{Float64, 2}, (CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaPitchedArray{Float32, 1}, (CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64}, Int64,)) + precompile(CUDArt.CudaPitchedArray{UInt16, 2}, (CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaArray{Float64, 2}, (CUDArt.CudaPtr{Float64}, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaPitchedArray{Int32, 2}, (CUDArt.CUDArt_gen.cudaPitchedPtr, Tuple{Int64, Int64}, Int64,)) + precompile(CUDArt.CudaArray{Int64, 1}, (CUDArt.CudaPtr{Int64}, Tuple{Int64}, Int64,)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{Int32, 2}, Array{Int32, 2},)) precompile(CUDArt.copy!, (Array{Int32, 2}, CUDArt.CudaArray{Int32, 2},)) precompile(CUDArt.copy!, (CUDArt.CudaPitchedArray{UInt16, 2}, Array{UInt16, 2},))