Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove/fix unused exports #357

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/mtl/buffer.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export MTLBuffer, device, handle
export MTLBuffer

# From docs: "MSL implements a buffer as a pointer to a built-in or user defined data type described in the
# device, constant, or threadgroup address space.
Expand Down
4 changes: 2 additions & 2 deletions lib/mtl/command_enc/compute.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export MTLComputeCommandEncoder
export set_function!, set_buffer!, set_bytes!, dispatchThreads!, endEncoding!
export set_buffers!, append_current_function!
export set_function!, set_buffer!, dispatchThreadgroups!, endEncoding!
export append_current_function!

@cenum MTLDispatchType::NSUInteger begin
MTLDispatchTypeSerial = 0
Expand Down
2 changes: 1 addition & 1 deletion src/array.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# host array

export MtlArray, MtlVector, MtlMatrix, MtlVecOrMat, mtl, is_shared, is_managed, is_private
export MtlArray, MtlVector, MtlMatrix, MtlVecOrMat, mtl, is_shared, is_managed, is_private, device
maleadt marked this conversation as resolved.
Show resolved Hide resolved

function hasfieldcount(@nospecialize(dt))
try
Expand Down