Skip to content

Commit

Permalink
Add TODO for MPSState encode! functions
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Dec 16, 2024
1 parent 54705a6 commit 6940471
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mps/ndarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ function encode!(cmdbuf::MTLCommandBuffer, kernel::K, sourceArrays, destinationA
sourceArrays:sourceArrays::id{NSArray}
destinationArray:destinationArray::id{MPSNDArray}]::Nothing
end
# TODO: MPSState is not implemented yet, so these don't work
# function encode!(cmdbuf::MTLCommandBuffer, kernel::K, sourceArrays, resultState, destinationArray) where {K<:MPSNDArrayMultiaryKernel}
# @objc [kernel::id{K} encodeToCommandBuffer:cmdbuf::id{MTLCommandBuffer}
# sourceArrays:sourceArrays::id{NSArray}
Expand Down Expand Up @@ -244,6 +245,7 @@ function encode!(cmdbuf::MTLCommandBuffer, kernel::K, sourceArray, destinationAr
sourceArray:sourceArray::id{MPSNDArray}
destinationArray:destinationArray::id{MPSNDArray}]::Nothing
end
# TODO: MPSState is not implemented yet, so these don't work
# function encode!(cmdbuf::MTLCommandBuffer, kernel::K, sourceArray, resultState, destinationArray) where {K<:MPSNDArrayUnaryKernel}
# @objc [kernel::id{K} encodeToCommandBuffer:cmdbuf::id{MTLCommandBuffer}
# sourceArray:sourceArray::id{MPSNDArray}
Expand Down Expand Up @@ -280,6 +282,7 @@ function encode!(cmdbuf::MTLCommandBuffer, kernel::K, primarySourceArray, second
secondarySourceArray:secondarySourceArray::id{MPSNDArray}
destinationArray:destinationArray::id{MPSNDArray}]::Nothing
end
# TODO: MPSState is not implemented yet, so these don't work
# function encode!(cmdbuf::MTLCommandBuffer, kernel::K, primarySourceArray, secondarySourceArray, resultState, destinationArray) where {K<:MPSNDArrayBinaryKernel}
# @objc [kernel::id{K} encodeToCommandBuffer:cmdbuf::id{MTLCommandBuffer}
# primarySourceArray:primarySourceArray::id{MPSNDArray}
Expand Down

0 comments on commit 6940471

Please sign in to comment.