Skip to content

Commit

Permalink
prov/psm3: disable long double reads and compares
Browse files Browse the repository at this point in the history
Atomic long double and complex long double reads and swaps
are failing data verification. Only part of the data is
getting copied. Disable in psm3 until root caused.

Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Oct 4, 2024
1 parent 10c1bd9 commit fc9cf4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions prov/psm3/src/psmx3_atomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2119,6 +2119,10 @@ static int psmx3_atomic_readwritevalid_internal(size_t chunk_size,
case FI_LXOR:
case FI_BXOR:
case FI_ATOMIC_READ:
/* Disable failing combinations */
if (datatype == FI_LONG_DOUBLE ||
datatype == FI_LONG_DOUBLE_COMPLEX)
return -FI_EOPNOTSUPP;
case FI_ATOMIC_WRITE:
break;

Expand All @@ -2140,6 +2144,10 @@ static int psmx3_atomic_compwritevalid_internal(size_t chunk_size,
if (datatype >= OFI_DATATYPE_LAST)
return -FI_EOPNOTSUPP;

/* Disable failing combinations */
if (datatype == FI_LONG_DOUBLE || datatype == FI_LONG_DOUBLE_COMPLEX)
return -FI_EOPNOTSUPP;

switch (op) {
case FI_CSWAP:
case FI_CSWAP_NE:
Expand Down

0 comments on commit fc9cf4e

Please sign in to comment.