Skip to content

Commit

Permalink
fix: noinline ops
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored and wsmoses committed Dec 29, 2024
1 parent bb0bf48 commit 14cb20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ specified by `scatter_indices` to the values in `updates`. If the indices are co
is recommended to directly use [`MLIR.Dialects.stablehlo.dynamic_update_slice`](@ref)
instead.
"""
function scatter_setindex(
@noinline function scatter_setindex(
dest::TracedRArray{T,N},
scatter_indices::TracedRArray{Int64,2},
updates::TracedRArray{T,1},
Expand Down Expand Up @@ -1480,7 +1480,7 @@ Uses [`MLIR.Dialects.stablehlo.gather`](@ref) to get the values of `src` at the
specified by `gather_indices`. If the indices are contiguous it is recommended to directly
use [`MLIR.Dialects.stablehlo.dynamic_slice`](@ref) instead.
"""
function gather_getindex(
@noinline function gather_getindex(
src::TracedRArray{T,N}, gather_indices::TracedRArray{Int64,2}
) where {T,N}
@assert size(gather_indices, 2) == N
Expand Down

0 comments on commit 14cb20c

Please sign in to comment.