auto: pre-test commit
This commit is contained in:
@@ -242,8 +242,8 @@ int main() {
|
||||
printf("Cosine: %.8f\n", cs_reg);
|
||||
|
||||
// Compare MMA PV vs reference
|
||||
printf("\n--- MMA PV vs FP32 reference ---\n");
|
||||
for (int d=0;d<8;d++) printf(" MMA[%d]=%.6f ref[%d]=%.6f ratio=%.4f\n",
|
||||
printf("\n--- MMA PV vs FP32 reference (all 64 elements) ---\n");
|
||||
for (int d=0;d<HD;d++) printf(" MMA[%2d]=%10.6f ref[%2d]=%10.6f ratio=%.4f\n",
|
||||
d, bf16_to_f32_host(h_o_mma[d]), d, h_o_ref[d],
|
||||
fabsf(h_o_ref[d])>1e-6f ? bf16_to_f32_host(h_o_mma[d])/h_o_ref[d] : 0);
|
||||
float cs_mma = 0, na_mma = 0, nb_mma = 0;
|
||||
|
||||
Reference in New Issue
Block a user