Skip to content

Commit

Permalink
Disable Enzyme for AMDGPU
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Oct 2, 2023
1 parent 1b00dd1 commit 3571306
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ using Adapt
using KernelAbstractions
import ReverseDiff as RD # used in `pooling.jl`

const Test_Enzyme = VERSION <= v"1.10-" && !Sys.iswindows()
const Test_Enzyme = VERSION <= v"1.10-" && !Sys.iswindows() &&
# TODO Enzyme is not working properly with AMDGPU yet.
get(ENV, "NNLIB_TEST_AMDGPU", "false") != "true"

DocMeta.setdocmeta!(NNlib, :DocTestSetup, :(using NNlib, UnicodePlots); recursive=true)

Expand Down

0 comments on commit 3571306

Please sign in to comment.