Logo
  • 1. FP4 Intrinsics
  • 2. FP6 Intrinsics
  • 3. FP8 Intrinsics
  • 4. Half Precision Intrinsics
  • 5. Bfloat16 Precision Intrinsics
  • 6. Single Precision Mathematical Functions
  • 7. Single Precision Intrinsics
  • 8. Double Precision Mathematical Functions
  • 9. Double Precision Intrinsics
  • 10. FP128 Quad Precision Mathematical Functions
  • 11. Type Casting Intrinsics
  • 12. Integer Mathematical Functions
  • 13. Integer Intrinsics
  • 14. SIMD Intrinsics
  • 15. Structs
    • 15.1. __half
    • 15.2. __half2
    • 15.3. __half2_raw
    • 15.4. __half_raw
    • 15.5. __nv_bfloat16
    • 15.6. __nv_bfloat162
    • 15.7. __nv_bfloat162_raw
    • 15.8. __nv_bfloat16_raw
    • 15.9. __nv_fp4_e2m1
    • 15.10. __nv_fp4x2_e2m1
    • 15.11. __nv_fp4x4_e2m1
    • 15.12. __nv_fp6_e2m3
    • 15.13. __nv_fp6_e3m2
    • 15.14. __nv_fp6x2_e2m3
    • 15.15. __nv_fp6x2_e3m2
    • 15.16. __nv_fp6x4_e2m3
    • 15.17. __nv_fp6x4_e3m2
    • 15.18. __nv_fp8_e4m3
    • 15.19. __nv_fp8_e5m2
    • 15.20. __nv_fp8_e8m0
    • 15.21. __nv_fp8x2_e4m3
    • 15.22. __nv_fp8x2_e5m2
    • 15.23. __nv_fp8x2_e8m0
    • 15.24. __nv_fp8x4_e4m3
    • 15.25. __nv_fp8x4_e5m2
    • 15.26. __nv_fp8x4_e8m0
  • 16. Notices
CUDA Math API Reference Manual
  • »
  • 15. Structs
  • v12.8 | PDF | Archive  

15. Structs

__half

__half data type

__half2

__half2 data type

__half2_raw

__half2_raw data type

__half_raw

__half_raw data type

__nv_bfloat16

nv_bfloat16 datatype

__nv_bfloat162

nv_bfloat162 datatype

__nv_bfloat162_raw

__nv_bfloat162_raw data type

__nv_bfloat16_raw

__nv_bfloat16_raw data type

__nv_fp4_e2m1

__nv_fp4_e2m1 datatype

__nv_fp4x2_e2m1

__nv_fp4x2_e2m1 datatype

__nv_fp4x4_e2m1

__nv_fp4x4_e2m1 datatype

__nv_fp6_e2m3

__nv_fp6_e2m3 datatype

__nv_fp6_e3m2

__nv_fp6_e3m2 datatype

__nv_fp6x2_e2m3

__nv_fp6x2_e2m3 datatype

__nv_fp6x2_e3m2

__nv_fp6x2_e3m2 datatype

__nv_fp6x4_e2m3

__nv_fp6x4_e2m3 datatype

__nv_fp6x4_e3m2

__nv_fp6x4_e3m2 datatype

__nv_fp8_e4m3

__nv_fp8_e4m3 datatype

__nv_fp8_e5m2

__nv_fp8_e5m2 datatype

__nv_fp8_e8m0

__nv_fp8_e8m0 datatype

__nv_fp8x2_e4m3

__nv_fp8x2_e4m3 datatype

__nv_fp8x2_e5m2

__nv_fp8x2_e5m2 datatype

__nv_fp8x2_e8m0

__nv_fp8x2_e8m0 datatype

__nv_fp8x4_e4m3

__nv_fp8x4_e4m3 datatype

__nv_fp8x4_e5m2

__nv_fp8x4_e5m2 datatype

__nv_fp8x4_e8m0

__nv_fp8x4_e8m0 datatype


Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2007-2025, NVIDIA Corporation & affiliates. All rights reserved.

Last updated on Feb 27, 2025.