tfel
Loading...
Searching...
No Matches
SyclBackendExecutionPolicy.hxx File Reference

This file declares the execution policy of the sycl backend of the generic-parallel interfaces, which holds a queue. Its identifier includes the implementation of SYCL, so that a policy created with one implementation is refused by a library compiled with another one. More...

#include <sycl/sycl.hpp>
#include "MFront/GenericParallel/BackendExecutionPolicyBase.hxx"

Classes

struct  mfront::generic_parallel::SyclBackendExecutionPolicy
 execution policy of the sycl backend. The sycl backend has no default policy: the arrays given by the caller belong to the context of a queue, so the queue is required. More...

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.
namespace  mfront::generic_parallel

Functions

SyclBackendExecutionPolicy mfront::generic_parallel::makeSyclBackendExecutionPolicy (const ::sycl::queue &q, const BackendExecutionCommonPolicy &opts={})

Detailed Description

This file declares the execution policy of the sycl backend of the generic-parallel interfaces, which holds a queue. Its identifier includes the implementation of SYCL, so that a policy created with one implementation is refused by a library compiled with another one.

Date
22/10/2026