Skip to content

Commit

Permalink
Merge pull request #46711 from makortel/patch-7
Browse files Browse the repository at this point in the history
Minor updates to AlpakaCore README
  • Loading branch information
cmsbuild authored Nov 16, 2024
2 parents a065cc0 + 125c892 commit f43acb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HeterogeneousCore/AlpakaCore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ For concrete examples see code in [`HeterogeneousCore/AlpakaTest`](../../Heterog

### EDProducer

This example shows a mixture of behavior from test code in [`HeterogeneousCore/AlpakaTest/plugins/alpaka/`](HeterogeneousCore/AlpakaTest/plugins/alpaka/)
This example shows a mixture of behavior from test code in [`HeterogeneousCore/AlpakaTest/plugins/alpaka/`](../../HeterogeneousCore/AlpakaTest/plugins/alpaka/)
```cpp
#include "HeterogeneousCore/AlpakaCore/interface/alpaka/EDGetToken.h"
#include "HeterogeneousCore/AlpakaCore/interface/alpaka/EDPutToken.h"
Expand Down Expand Up @@ -314,7 +314,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
// fill the hostProduct from hostInput
return std::move(hostProduct);
return hostProduct;
}
private:
Expand Down Expand Up @@ -359,7 +359,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
algo_.fill(iRecord.queue(), deviceInput, deviceProduct);

// return the product without waiting
return std::move(deviceProduct);
return deviceProduct;
}

private:
Expand Down

0 comments on commit f43acb8

Please sign in to comment.