We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0107acd commit cc9f619Copy full SHA for cc9f619
src/array.jl
@@ -302,8 +302,7 @@ end
302
Adapt.adapt_storage(::Runtime.Adaptor, x::ROCArray{T,N}) where {T,N} =
303
convert(ROCDeviceArray{T,N,AS.Global}, x)
304
305
-if VERSION ≥ v"1.12-"
306
- # TODO is this OK to do this?
+if v"1.12.0-beta1" ≤ VERSION < v"1.12.0-rc1"
307
# Use type inference for x^p instead of `promote` which does `x * x`.
308
function Base.to_power_type(x::AnyROCArray)
309
convert(Base._return_type(*, Tuple{typeof(x), typeof(x)}), x)
0 commit comments