#[repr(transparent)]pub struct C64(pub [f64; 2]);Expand description
128-bit interleaved complex ({re, im} of f64). Layout matches
cufft_sys::double2 and numpy.complex128. Phase 1.5++.
Maps to cudaDataType_t::CUDA_C_64F and cuDoubleComplex.
Tuple Fields§
§0: [f64; 2]Implementations§
Trait Implementations§
Source§impl AccelDtype for C64
impl AccelDtype for C64
Source§const NAME: &'static str = "complex128"
const NAME: &'static str = "complex128"
Human-readable name used in tracing and error messages.
Source§type Scalar = f64
type Scalar = f64
Companion scalar type for host-side parameters (alpha/beta,
mean/std, scaling factors).
Self for full-precision dtypes;
f32 for fp8 / fp4 wrappers because the upstream APIs accept
f32 scales.fn zero() -> Self
fn one() -> Self
Source§impl CudaDtype for C64
impl CudaDtype for C64
fn cuda_data_type() -> cudaDataType_t
fn cublas_compute_type() -> cublasComputeType_t
Source§fn cuda_type_name() -> &'static str
fn cuda_type_name() -> &'static str
CUDA C++ type name for NVRTC source generation.
fn cudnn_data_type() -> cudnnDataType_t
fn nccl_data_type() -> ncclDataType_t
impl Copy for C64
impl DeviceRepr for C64
impl FftSupported for C64
impl StructuralPartialEq for C64
impl ValidAsZeroBits for C64
Auto Trait Implementations§
impl Freeze for C64
impl RefUnwindSafe for C64
impl Send for C64
impl Sync for C64
impl Unpin for C64
impl UnsafeUnpin for C64
impl UnwindSafe for C64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more