nx_f32_cvt.nx
buildroot/runtime/nx_f32_cvt.nx
about
dependencies 4 imports · 149 importers
diagram shows first 10 each side; +0 more imports, +139 more importers in the complete lists below.
imports: nx_syscalls.nxnx_tier.nxnx_f16.nxnx_f32.nx
imported by: _autograd_authored.nx_tensor_grad_authored.nxnx_autograd.nxnx_autograd_tensor.nxnx_batchscale_kat.nxnx_coco_oks.nxnx_coco_oks_gate.nxnx_conv_bwd_stride_gate.nxnx_embed_train.nxnx_exp_ab.nxnx_exploop_test.nxnx_f16_kat.nxnx_f32_adaln.nxnx_f32_attention.nxnx_f32_bn_fold_gate.nxnx_f32_conv2d.nxnx_f32_conv2d_backward_fast_gate.nxnx_f32_conv2d_backward_gate.nxnx_f32_conv2d_fast_gate.nxnx_f32_conv2d_grouped_gate.nxnx_f32_conv_train_gate.nxnx_f32_conv_transpose2d_gate.nxnx_f32_cvt_test.nxnx_f32_dit_block_linear.nxnx_f32_dit_block_simd.nxnx_f32_dit_block_tiny.nxnx_f32_exp.nxnx_f32_exp_test.nxnx_f32_ffn_path_gate.nxnx_f32_gelu.nxnx_f32_gelu_gate.nxnx_f32_gqa_attention.nxnx_f32_groupnorm.nxnx_f32_image_to_bmp.nxnx_f32_layernorm.nxnx_f32_layernorm_lib_gate.nxnx_f32_linear_attention.nxnx_f32_linear_simd.nxnx_f32_llama_layer_lazy_load.nxnx_f32_llm_serve.nxnx_f32_log.nxnx_f32_log_test.nxnx_f32_lora_linear.nxnx_f32_maxpool2d_gate.nxnx_f32_parity.nxnx_f32_q4k_matmul.nxnx_f32_qwen_encoder.nxnx_f32_qwen_layer.nxnx_f32_rectflow_denoise.nxnx_f32_resblock.nxnx_f32_rmsnorm.nxnx_f32_rmsnorm_test.nxnx_f32_rope.nxnx_f32_rope_test.nxnx_f32_sampler.nxnx_f32_sincos.nxnx_f32_sincos_test.nxnx_f32_train_ops.nxnx_f32_upsample.nxnx_f32_upsample_bilinear.nxnx_f32_upsample_bilinear_gate.nxnx_f32_vae_decode_tiny.nxnx_f32prim_test.nxnx_f32x8_dot_bench.nxnx_f32x8_probe.nxnx_f32x8_range_gate.nxnx_fft_f32.nxnx_flashattn_scale.nxnx_gguf_load_f32.nxnx_hifigan_verify.nxnx_i8dot32_kat.nxnx_i8dot32a_kat.nxnx_i8dot_ab.nxnx_i8fma32_kat.nxnx_linear_attn_bench.nxnx_matmul_t_pool_gate.nxnx_matmul_tile_kat.nxnx_moe_gate.nxnx_nofloat_qwen_rope_h2h_gate.nxnx_paged_kv_gate.nxnx_pose_backprop_gate.nxnx_pose_cnn_gate.nxnx_pose_distill_gate.nxnx_pose_preprocess.nxnx_pose_student_distill.nxnx_q4k_fused_fidelity_gate.nxnx_q4k_fused_vs_x4_gate.nxnx_q4k_ggml_kat.nxnx_q4k_linear.nxnx_q4k_linear_hp.nxnx_q4k_real_gemm.nxnx_q4k_speed_bench.nxnx_q4k_to_f32.nxnx_q4k_to_f32_test.nxnx_q5_0_fused_dot_gate.nxnx_q5_0_threaded_gate.nxnx_q5_0_to_f32.nxnx_q5_k_ggml_kat.nxnx_q5_k_to_f32.nxnx_q5k_dot_row_col.nx +49 more (shown cap 100 declared)
structs
| none |
consts
| 30 | const NX_MAGIC_8388608: i64 = 8388608 |
| 31 | const NX_MAGIC_8388607: i64 = 8388607 |
| 207 | const NX_Q10_SAT: i64 = 4611686018427387904 // 2^62, headroom for the Q34 accumulate |
functions
| 48 | func nx_f16_to_f32(raw: i64) -> i64 |
| 107 | func nx_i32_to_f32(value: i64) -> i64 |
| 169 | func nx_q10_to_f32(q10: i64) -> i64 |
| 209 | func nx_f32_to_q10(f32bits: i64) -> i64 called by 1: main |
| 245 | func nx_q20_to_f32(q20: i64) -> i64 |
| 257 | func nx_f32_to_q20(f32bits: i64) -> i64 called by 1: _fq4m_pack_q10 |
| 282 | func nx_q24_to_f32(q24: i64) -> i64 |
| 296 | func nx_q14_to_f32(q14: i64) -> i64 called by 8: mainmainnx_f32_sampler_sample_temp_fsp_find_top_p_k_fsp_find_min_p_kf32_mse_loss+2 calls 1: nx_i32_to_f32 |