Closed AuroraPerego closed 1 year ago
What are the thread-safety guarantees of the Platform objects?
Most platform types (all but SYCL IIRC) are empty objects, so they are implicitly thread safe.
I think the SYCL platforms are thread safe because the underlying SYCL objects are thread safe - but I have not thought too much about this.
Since 41e9956 in Alpaka the
platform
s are actual objects and a couple of commits later they have been renamed fromPltf
toPlatform
. This PR propagates these changes toalpaka
andalpakatest
.It also replaces
cms::alpakatools::enumerate()
withalpaka::getDevs()
(thanks @fwyzard).