diff --git a/src/public.jl b/src/public.jl index 02fb8f8..168e2cf 100644 --- a/src/public.jl +++ b/src/public.jl @@ -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