Skip to content

Commit

Permalink
Small typo and doc fixup (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd authored Apr 3, 2024
1 parent b5233e2 commit bc2131e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions docs/src/api/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ This section lists the package's public functionality that corresponds to specia
functions for use in device code. For more information about these functions,
please consult the [Metal Shading Language specification](https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf).

This is made possible by interfacing with the Metal libraries through a small C library that
wraps the ObjectiveC APIs. These low-level wrappers, along with some slightly higher-level
Julia wrappers, are available in the MTL submodule exported by Metal.jl. All wrapped C
functions and types start with the mt prefix, whereas the Julia wrappers are prefixed with Mtl:
This is made possible by interfacing with the Metal libraries by wrapping a subset of the ObjectiveC APIs using [ObjectiveC.jl](https://github.com/JuliaInterop/ObjectiveC.jl). These low-level wrappers are available in the MTL submodule exported by Metal.jl.


## Indexing and dimensions
Expand Down
2 changes: 1 addition & 1 deletion src/device/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ should match the type of the pointer `ptr`.
MtlDeviceArray

# NOTE: we can't support the typical `tuple or series of integer` style construction,
# because we're Mtlrrently requiring a trailing pointer argument.
# because we're currently requiring a trailing pointer argument.

struct MtlDeviceArray{T,N,A} <: DenseArray{T,N}
ptr::Core.LLVMPtr{T,A}
Expand Down

0 comments on commit bc2131e

Please sign in to comment.