mirror of
https://github.com/amd/blis.git
synced 2026-05-11 09:39:59 +00:00
Fixed inactive trsm_r blocksize constraint code.
Details: - Changed a cpp macro that was meant to prevent using certain trsm_r code if BLIS_RELAX_MCNR_NCMR_CONSTRAINTS was defined. It was actually coded incorrectly at first. I've now fixed its location and changed its consequence to a compile-time #error message.
This commit is contained in:
@@ -86,9 +86,6 @@ void bli_trsm_front
|
||||
}
|
||||
|
||||
#if 0
|
||||
// NOTE: Enabling this code requires that BLIS be configured with
|
||||
// BLIS_RELAX_MCNR_NCMR_CONSTRAINTS defined.
|
||||
#ifdef BLIS_RELAX_MCNR_NCMR_CONSTRAINTS
|
||||
|
||||
// If A is being solved against from the right, transpose all operands
|
||||
// so that we can perform the computation as if A were being solved
|
||||
@@ -101,9 +98,14 @@ void bli_trsm_front
|
||||
bli_obj_induce_trans( c_local );
|
||||
}
|
||||
|
||||
#endif
|
||||
#else
|
||||
|
||||
// NOTE: Enabling this code requires that BLIS NOT be configured with
|
||||
// BLIS_RELAX_MCNR_NCMR_CONSTRAINTS defined.
|
||||
#ifdef BLIS_RELAX_MCNR_NCMR_CONSTRAINTS
|
||||
#error "BLIS_RELAX_MCNR_NCMR_CONSTRAINTS must not be defined for current trsm_r implementation."
|
||||
#endif
|
||||
|
||||
// If A is being solved against from the right, swap A and B so that
|
||||
// the triangular matrix will actually be on the right.
|
||||
if ( bli_is_right( side ) )
|
||||
|
||||
Reference in New Issue
Block a user