Skip to content

Commit

Permalink
rm redundancy code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaxingla committed Jul 15, 2024
1 parent c0dfbaa commit e7381bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/ampere/gemm_configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ struct DefaultGemm_TensorOpSm80_OperandB<bfloat16_t, cutlass::layout::ColumnMajo
template <int Alignment, int SizeK>
struct DefaultGemm_TensorOpSm80_OperandB<bfloat16_t, cutlass::layout::RowMajor, Alignment, SizeK>
: DefaultGemm_TensorOpSm80_OperandA<bfloat16_t, cutlass::layout::ColumnMajor, Alignment, SizeK>
{};
{};
4 changes: 2 additions & 2 deletions include/cutlass/gemm/collective/intel_pvc_mma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
*this list of conditions and the following disclaimer.
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
Expand Down
2 changes: 1 addition & 1 deletion include/cutlass/relatively_equal.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool relatively_equal_float(T a, T b, T epsilon, T nonzero_floor) {
return true;
}
else if (a == zero || b == zero || diff < nonzero_floor) {
return diff < (epsilon * nonzero_floor) || (diff / abs_B) < (T)0.001f;
return diff < (epsilon * nonzero_floor);
}

return diff < epsilon * (abs_A + abs_B);
Expand Down

0 comments on commit e7381bc

Please sign in to comment.