Skip to content

Commit ee909e6

Browse files
authored
Merge pull request #486 from pxl-th/ka-kernels
Use KernelAbstractions.jl for upsample kernels
2 parents 335ed1c + bf4d6cf commit ee909e6

File tree

11 files changed

+823
-1048
lines changed

11 files changed

+823
-1048
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = "0.8.19"
55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
8+
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
89
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
910
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1011
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
@@ -21,6 +22,7 @@ NNlibAMDGPUExt = "AMDGPU"
2122
AMDGPU = "0.4.8"
2223
Adapt = "2, 3.2"
2324
ChainRulesCore = "1.13"
25+
KernelAbstractions = "0.9"
2426
Requires = "0.5, 1.0"
2527
julia = "1.6"
2628

ext/NNlibCUDA/src/NNlibCUDA.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ using Random, Statistics
66

77
const IntOrIntTuple = Union{Integer, NTuple{N,<:Integer} where N}
88

9-
include("upsample.jl")
109
include("sampling.jl")
1110
include("activations.jl")
1211
include("batchedadjtrans.jl")

ext/NNlibCUDA/src/upsample.jl

Lines changed: 0 additions & 361 deletions
This file was deleted.

ext/NNlibCUDA/test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ include("activations.jl")
1313
include("dropout.jl")
1414
include("batchedadjtrans.jl")
1515
include("batchedmul.jl")
16-
include("upsample.jl")
1716
include("conv.jl")
1817
include("ctc.jl")
1918
include("fold.jl")

0 commit comments

Comments
 (0)