Skip to content

Commit f43acb8

Browse files
authored
Merge pull request #46711 from makortel/patch-7
Minor updates to AlpakaCore README
2 parents a065cc0 + 125c892 commit f43acb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HeterogeneousCore/AlpakaCore/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ For concrete examples see code in [`HeterogeneousCore/AlpakaTest`](../../Heterog
199199

200200
### EDProducer
201201

202-
This example shows a mixture of behavior from test code in [`HeterogeneousCore/AlpakaTest/plugins/alpaka/`](HeterogeneousCore/AlpakaTest/plugins/alpaka/)
202+
This example shows a mixture of behavior from test code in [`HeterogeneousCore/AlpakaTest/plugins/alpaka/`](../../HeterogeneousCore/AlpakaTest/plugins/alpaka/)
203203
```cpp
204204
#include "HeterogeneousCore/AlpakaCore/interface/alpaka/EDGetToken.h"
205205
#include "HeterogeneousCore/AlpakaCore/interface/alpaka/EDPutToken.h"
@@ -314,7 +314,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
314314
315315
// fill the hostProduct from hostInput
316316
317-
return std::move(hostProduct);
317+
return hostProduct;
318318
}
319319
320320
private:
@@ -359,7 +359,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
359359
algo_.fill(iRecord.queue(), deviceInput, deviceProduct);
360360

361361
// return the product without waiting
362-
return std::move(deviceProduct);
362+
return deviceProduct;
363363
}
364364

365365
private:

0 commit comments

Comments
 (0)