We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333fe5f commit 100861cCopy full SHA for 100861c
DataFormats/Portable/interface/PortableHostCollection.h
@@ -47,6 +47,9 @@ class PortableHostCollection {
47
assert(reinterpret_cast<uintptr_t>(buffer_->data()) % Layout::alignment == 0);
48
}
49
50
+ // constructor for code that does not use alpaka explicitly, using the global "host" object returned by cms::alpakatools::host()
51
+ PortableHostCollection(int32_t elements) : PortableHostCollection(elements, cms::alpakatools::host()) {}
52
+
53
// non-copyable
54
PortableHostCollection(PortableHostCollection const&) = delete;
55
PortableHostCollection& operator=(PortableHostCollection const&) = delete;
0 commit comments