Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
avik-pal and github-actions[bot] authored Oct 3, 2024
1 parent 78fb991 commit 782f401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/public.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ Return a `XLADevice` object.
This is an experimental feature and might change without deprecations
"""
function xla_device()
@assert loaded(XLADevice) && functional(XLADevice) "`XLADevice` is not loaded or not \
functional. Load `Reactant.jl` \
before calling this function."
@assert loaded(XLADevice)&&functional(XLADevice) "`XLADevice` is not loaded or not \
functional. Load `Reactant.jl` \
before calling this function."
return XLADevice()
end

Expand Down

0 comments on commit 782f401

Please sign in to comment.