Skip to content

Commit

Permalink
[RF] Work around deleted move constructor in std::span backport
Browse files Browse the repository at this point in the history
Closes #15087.
  • Loading branch information
guitargeek committed Mar 28, 2024
1 parent a27e60a commit dcebd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooFit/Evaluator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ void Evaluator::assignToGPU(NodeInfo &info)
: _bufferManager->makeGpuBuffer(nOut);
buffer = info.buffer->gpuWritePtr();
}
_evalContextCUDA._currentOutput = std::span<double>{buffer, nOut};
assignSpan(_evalContextCUDA._currentOutput, {buffer, nOut});
_evalContextCUDA.set(node, _evalContextCUDA._currentOutput);
node->doEval(_evalContextCUDA);
CudaInterface::cudaEventRecord(*info.event, *info.stream);
Expand Down

0 comments on commit dcebd46

Please sign in to comment.