Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
for_each_device.hpp File Reference
#include "shambackends/sycl.hpp"
#include <functional>
+ Include dependency graph for for_each_device.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamsys
 namespace for the system handling
 

Functions

u32 shamsys::for_each_device (std::function< void(u32, const sycl::platform &, const sycl::device &)> fct)
 Iterate over all SYCL devices and perform a given function.
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file for_each_device.hpp.