Macros | Functions
tensor_benchmarks_sycl.cc File Reference
#include <SYCL/sycl.hpp>
#include <iostream>
#include "tensor_benchmarks.h"
Include dependency graph for tensor_benchmarks_sycl.cc:

Go to the source code of this file.

Macros

#define BM_FuncGPU(FUNC)
 
#define EIGEN_USE_SYCL
 

Functions

 BM_FuncGPU (broadcasting)
 
 BM_FuncGPU (coeffWiseOp)
 
template<typename device_selector >
cl::sycl::queue sycl_queue ()
 

Macro Definition Documentation

#define BM_FuncGPU (   FUNC)
Value:
static void BM_##FUNC(int iters, int N) { \
cl::sycl::queue q = sycl_queue<cl::sycl::gpu_selector>(); \
Eigen::SyclDevice device(q); \
BenchmarkSuite<Eigen::SyclDevice, float> suite(device, N); \
suite.FUNC(iters); \
} \
BENCHMARK_RANGE(BM_##FUNC, 10, 5000);
#define N
Definition: gksort.c:12
#define BENCHMARK_RANGE(bench, lo, hi)
EIGEN_DEVICE_FUNC const Scalar & q
void StopBenchmarkTiming()

Definition at line 26 of file tensor_benchmarks_sycl.cc.

#define EIGEN_USE_SYCL

Definition at line 1 of file tensor_benchmarks_sycl.cc.

Function Documentation

BM_FuncGPU ( broadcasting  )
BM_FuncGPU ( coeffWiseOp  )
template<typename device_selector >
cl::sycl::queue sycl_queue ( )

Definition at line 14 of file tensor_benchmarks_sycl.cc.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:40