Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs
gputraits_sycl.h File Reference
#include <cstddef>
#include "gromacs/gpu_utils/gmxsycl.h"
+ Include dependency graph for gputraits_sycl.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares the SYCL type traits.

Author
Andrey Alekseenko al42a.nosp@m.nd@g.nosp@m.mail..nosp@m.com

Classes

struct  KernelLaunchConfig
 GPU kernels scheduling description. This is same in OpenCL/CUDA. Provides reasonable defaults, one typically only needs to set the GPU stream and non-1 work sizes. More...
 

Macros

#define c_canEmbedBuffers   false
 Sets whether device code can use arrays that are embedded in structs. More...
 

Typedefs

using DeviceTexture = void *
 
using CommandEvent = void *
 Single GPU call timing event, not used with SYCL.
 
using float4 = cl::sycl::float4
 Convenience alias.
 
using float3 = gmx::RVec
 Convenience alias. Not using cl::sycl::float3 due to alignment issues.
 
using float2 = cl::sycl::float2
 Convenience alias for cl::sycl::float2.
 

Macro Definition Documentation

#define c_canEmbedBuffers   false

Sets whether device code can use arrays that are embedded in structs.

Todo:
Probably can, must check