diff options
author | Ivar Flakstad <69173633+ivarflakstad@users.noreply.github.com> | 2024-01-17 18:09:28 +0100 |
---|---|---|
committer | Ivar Flakstad <69173633+ivarflakstad@users.noreply.github.com> | 2024-01-17 18:09:28 +0100 |
commit | 80b1c689f923473784945e3bcf1ea2286dde7e0d (patch) | |
tree | 880001e17db7428f412070c9c9ce72831590ad24 /candle-metal-kernels | |
parent | db923517b3da10746c0f6b5270fee511e8116cc0 (diff) | |
download | candle-80b1c689f923473784945e3bcf1ea2286dde7e0d.tar.gz candle-80b1c689f923473784945e3bcf1ea2286dde7e0d.tar.bz2 candle-80b1c689f923473784945e3bcf1ea2286dde7e0d.zip |
Revert public EncoderParam
Diffstat (limited to 'candle-metal-kernels')
-rw-r--r-- | candle-metal-kernels/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-metal-kernels/src/lib.rs b/candle-metal-kernels/src/lib.rs index 58569e6b..fe969372 100644 --- a/candle-metal-kernels/src/lib.rs +++ b/candle-metal-kernels/src/lib.rs @@ -47,7 +47,7 @@ fn set_param<P: EncoderParam>(encoder: &ComputeCommandEncoderRef, position: u64, /// Helper functions to create the various objects on the compute command encoder /// on a single line. /// Prevents getting wrong some arguments number and mixing length and size in bytes. -pub trait EncoderParam { +trait EncoderParam { fn set_param(encoder: &ComputeCommandEncoderRef, position: u64, data: Self); } macro_rules! primitive { |