Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NNlibAMDGPUExt] Load MIOpen module only if it is available #483

Merged
merged 7 commits into from
Apr 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Trigger CI
  • Loading branch information
pxl-th committed Apr 5, 2023
commit 988d35894569f455a9c1f72f1028e7d7094a6a21
5 changes: 4 additions & 1 deletion ext/NNlibAMDGPUExt/NNlibAMDGPUExt.jl
Original file line number Diff line number Diff line change
@@ -60,7 +60,10 @@ end
include("softmax.jl")
include("activations.jl")
else
@warn "ROCm MIOpen is not available for AMDGPU. NNlib has limited functionality for AMDGPU."
@warn """
ROCm MIOpen is not available for AMDGPU.
NNlib has limited functionality for AMDGPU.
"""
end

end