Peano 4
Loading...
Searching...
No Matches
tarch::accelerator::sycl Namespace Reference

Functions

void queryDeviceInformation (std::vector< std::vector< std::string > > &propertyMatrix)
 Queries device information for Sycl GPU accelerator backend.
 
void printDeviceInformation (std::vector< std::vector< std::string > > &propertyMatrix)
 Print device information.
 
std::vector< booltestKernelLaunch ()
 Test the kernel launch with SYCL backend.
 
std::vector< tarch::accelerator::BenchmarkResultInNanoSecondsrunBenchmarks ()
 Return empty benchmark results as SYCL benchmarks are being implemented.
 

Function Documentation

◆ printDeviceInformation()

void tarch::accelerator::sycl::printDeviceInformation ( std::vector< std::vector< std::string > > & propertyMatrix)

Print device information.

Parameters
propertyMatrixA matrix containing the device properties.

Referenced by tarch::accelerator::printDeviceInformation().

Here is the caller graph for this function:

◆ queryDeviceInformation()

void tarch::accelerator::sycl::queryDeviceInformation ( std::vector< std::vector< std::string > > & propertyMatrix)

Queries device information for Sycl GPU accelerator backend.

Query device information and update the property matrix.

It implements the device infromation queries described in tarch::accelerator::queryDeviceInformation

See also
tarch::accelerator::queryDeviceInformation

This function queries the device information using SYCL and updates the propertyMatrix with the retrieved information. The propertyMatrix is expected to be a 2D vector of strings, where each row represents a property and each column represents a device.

Parameters
[in,out]propertyMatrixA matrix of property values to be updated with the device information.

Referenced by tarch::accelerator::queryDeviceInformation().

Here is the caller graph for this function:

◆ runBenchmarks()

std::vector< tarch::accelerator::BenchmarkResultInNanoSeconds > tarch::accelerator::sycl::runBenchmarks ( )

Return empty benchmark results as SYCL benchmarks are being implemented.

Returns
A vector of obtained benchmark results
See also
tarch::accelerator::cpp::runBenchmarks
tarch::accelerator::cuda::runBenchmarks
tarch::accelerator::omp::runBenchmarks

Referenced by tarch::accelerator::runBenchmarks().

Here is the caller graph for this function:

◆ testKernelLaunch()

std::vector< bool > tarch::accelerator::sycl::testKernelLaunch ( )

Test the kernel launch with SYCL backend.

This function tests the kernel launch using the SYCL backend. It runs a simple kernel on each GPU device and checks if the kernel was successfully executed by verifying the value of a boolean variable. The function returns a vector of bool values indicating the success of the kernel launch on each device.

Returns
A vector of bool values indicating the success of the kernel launch on each device.

Referenced by tarch::accelerator::offloadCapabilityTest().

Here is the caller graph for this function: