singe-npp 0.1.0-alpha.8

Safe Rust wrappers for NVIDIA Performance Primitives library (NPP).
Documentation
use singe_cuda::types::Complex32;

use crate::{
    context::StreamContext,
    error::Result,
    image::{
        arithmetic,
        view::{AC4, ImageView, ImageViewMut},
    },
};

use super::super::{ImagePipeline, operation_traits::BinaryArithmeticImage};

impl_unscaled_binary_arithmetic_image!(
    Complex32,
    AC4,
    arithmetic::add_f32_complex_ac4,
    arithmetic::add_f32_complex_ac4_in_place,
    arithmetic::subtract_f32_complex_ac4,
    arithmetic::subtract_f32_complex_ac4_in_place,
    arithmetic::multiply_f32_complex_ac4,
    arithmetic::multiply_f32_complex_ac4_in_place,
    arithmetic::divide_f32_complex_ac4,
    arithmetic::divide_f32_complex_ac4_in_place
);