@@ -2695,30 +2695,30 @@ pub struct cublasLtContext {
26952695}
26962696#[ cfg( any( feature = "cuda-13000" ) ) ]
26972697#[ repr( C ) ]
2698- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2698+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
26992699pub struct cublasLtEmulationDescOpaque_t {
27002700 pub data : [ u64 ; 8usize ] ,
27012701}
27022702#[ repr( C ) ]
2703- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2703+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27042704pub struct cublasLtMatmulAlgo_t {
27052705 pub data : [ u64 ; 8usize ] ,
27062706}
27072707#[ cfg( any( feature = "cuda-11040" ) ) ]
27082708#[ repr( C ) ]
2709- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2709+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27102710pub struct cublasLtMatmulDescOpaque_t {
27112711 pub data : [ u64 ; 11usize ] ,
27122712}
27132713#[ cfg( any( feature = "cuda-11050" , feature = "cuda-11060" , feature = "cuda-11070" ) ) ]
27142714#[ repr( C ) ]
2715- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2715+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27162716pub struct cublasLtMatmulDescOpaque_t {
27172717 pub data : [ u64 ; 12usize ] ,
27182718}
27192719#[ cfg( any( feature = "cuda-11080" , feature = "cuda-12000" , feature = "cuda-12010" ) ) ]
27202720#[ repr( C ) ]
2721- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2721+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27222722pub struct cublasLtMatmulDescOpaque_t {
27232723 pub data : [ u64 ; 23usize ] ,
27242724}
@@ -2733,7 +2733,7 @@ pub struct cublasLtMatmulDescOpaque_t {
27332733 feature = "cuda-13000"
27342734) ) ]
27352735#[ repr( C ) ]
2736- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2736+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27372737pub struct cublasLtMatmulDescOpaque_t {
27382738 pub data : [ u64 ; 32usize ] ,
27392739}
@@ -2754,7 +2754,7 @@ pub struct cublasLtMatmulHeuristicResult_t {
27542754 feature = "cuda-11080"
27552755) ) ]
27562756#[ repr( C ) ]
2757- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2757+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27582758pub struct cublasLtMatmulPreferenceOpaque_t {
27592759 pub data : [ u64 ; 10usize ] ,
27602760}
@@ -2771,24 +2771,42 @@ pub struct cublasLtMatmulPreferenceOpaque_t {
27712771 feature = "cuda-13000"
27722772) ) ]
27732773#[ repr( C ) ]
2774- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2774+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27752775pub struct cublasLtMatmulPreferenceOpaque_t {
27762776 pub data : [ u64 ; 8usize ] ,
27772777}
27782778#[ repr( C ) ]
2779- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2779+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27802780pub struct cublasLtMatrixLayoutOpaque_t {
27812781 pub data : [ u64 ; 8usize ] ,
27822782}
27832783#[ repr( C ) ]
2784- #[ derive( Debug , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
2784+ #[ derive( Debug , Default , Copy , Clone , Hash , PartialOrd , Ord , PartialEq , Eq ) ]
27852785pub struct cublasLtMatrixTransformDescOpaque_t {
27862786 pub data : [ u64 ; 8usize ] ,
27872787}
27882788#[ cfg( any( feature = "cuda-12080" , feature = "cuda-12090" , feature = "cuda-13000" ) ) ]
27892789impl cudaDataType_t {
27902790 pub const CUDA_R_8F_UE4M3 : cudaDataType_t = cudaDataType_t:: CUDA_R_8F_E4M3 ;
27912791}
2792+ impl Default for _IO_FILE {
2793+ fn default ( ) -> Self {
2794+ let mut s = :: core:: mem:: MaybeUninit :: < Self > :: uninit ( ) ;
2795+ unsafe {
2796+ :: core:: ptr:: write_bytes ( s. as_mut_ptr ( ) , 0 , 1 ) ;
2797+ s. assume_init ( )
2798+ }
2799+ }
2800+ }
2801+ impl Default for cublasLtMatmulHeuristicResult_t {
2802+ fn default ( ) -> Self {
2803+ let mut s = :: core:: mem:: MaybeUninit :: < Self > :: uninit ( ) ;
2804+ unsafe {
2805+ :: core:: ptr:: write_bytes ( s. as_mut_ptr ( ) , 0 , 1 ) ;
2806+ s. assume_init ( )
2807+ }
2808+ }
2809+ }
27922810#[ cfg( not( feature = "dynamic-loading" ) ) ]
27932811extern "C" {
27942812 pub fn cublasLtCreate ( lightHandle : * mut cublasLtHandle_t ) -> cublasStatus_t ;
0 commit comments