message: Excluding GPU buffers from bypassing the ADIOS internal buffers
diff: * Distributed under the OSI-approved Apache License, Version 2.0. See
  * accompanying file Copyright.txt for details.
  *
  - * BP5Serializer.h
  + * BP5Deserializer.h
  *
  */
  @@ -1357,7 +1357,9 @@ BP5Deserializer::GenerateReadRequests(const bool doAllocTempBuffers,
  RR.WriterRank = WriterRank;
  RR.StartOffset =
  writer_meta_base->DataBlockLocation[NeededBlock];
  -
  + if (Req->MemSpace != MemorySpace::Host)
  + RR.DirectToAppMemory = false;
  + else
  RR.DirectToAppMemory = IsContiguousTransfer(
  Req, &writer_meta_base->Offsets[StartDim],
  &writer_meta_base->Count[StartDim]);
  @@ -1490,6 +1492,9 @@ BP5Deserializer::GenerateReadRequests(const bool doAllocTempBuffers,
  StartOffsetInBlock;
  RR.ReadLength =
  EndOffsetInBlock - StartOffsetInBlock;
  + if (Req->MemSpace != MemorySpace::Host)
  + RR.DirectToAppMemory = false;
  + else
  RR.DirectToAppMemory = IsContiguousTransfer(
  Req, &writer_meta_base->Offsets[StartDim],
  &writer_meta_base->Count[StartDim]);
  