diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-07-11 09:33:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 09:33:59 +0100 |
commit | 674eb35e101f08e02e1a53d22b2cbe614063d699 (patch) | |
tree | 4af310f6fca476ee968a146322ad4aa2e3470185 /candle-core/src/cuda_backend.rs | |
parent | ae79c00e48089d889f900b4c05f90a1201e610c6 (diff) | |
download | candle-674eb35e101f08e02e1a53d22b2cbe614063d699.tar.gz candle-674eb35e101f08e02e1a53d22b2cbe614063d699.tar.bz2 candle-674eb35e101f08e02e1a53d22b2cbe614063d699.zip |
Remove some dead-code pragmas. (#137)
Diffstat (limited to 'candle-core/src/cuda_backend.rs')
-rw-r--r-- | candle-core/src/cuda_backend.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/candle-core/src/cuda_backend.rs b/candle-core/src/cuda_backend.rs index 9fc4ceca..c2d01a07 100644 --- a/candle-core/src/cuda_backend.rs +++ b/candle-core/src/cuda_backend.rs @@ -470,7 +470,6 @@ impl Map1 for Elu { } } -#[allow(dead_code)] struct Sum<'a>(&'a [usize]); impl<'a> Map1 for Sum<'a> { fn f<T: DeviceRepr + WithDType + ValidAsZeroBits>( @@ -507,7 +506,6 @@ impl<'a> Map1 for Sum<'a> { } } -#[allow(dead_code)] struct FastSum<'a>(&'a [usize]); impl<'a> Map1 for FastSum<'a> { fn f<T: DeviceRepr + WithDType + ValidAsZeroBits>( |