![]() |
Project
|
#include <iostream>
#include <cstring>
#include <hip/hip_runtime.h>
#include <boost/test/unit_test.hpp>
#include "GPUCommonAlgorithm.h"
Go to the source code of this file.
Classes | |
struct | TestEnvironment |
Macros | |
#define | GPUCA_GPUTYPE_VEGA |
#define | BOOST_TEST_MODULE Test GPUCommonAlgorithm Sorting HIP |
#define | BOOST_TEST_MAIN |
#define | BOOST_TEST_DYN_LINK |
Functions | |
hipError_t | hipCheckError (hipError_t hipErrorCode) |
void | hipCheckErrorFatal (hipError_t hipErrorCode) |
template<typename T > | |
void | testAlmostEqualArray (T *correct, T *testing, size_t size) |
__global__ void | sortInThread (float *data, size_t dataLength) |
__global__ void | sortInThreadWithOperator (float *data, size_t dataLength) |
__global__ void | sortInBlock (float *data, size_t dataLength) |
__global__ void | sortInBlockWithOperator (float *data, size_t dataLength) |
BOOST_FIXTURE_TEST_CASE (GPUsortThreadHIP, TestEnvironment) | |
BOOST_FIXTURE_TEST_CASE (GPUsortThreadOperatorHIP, TestEnvironment) | |
BOOST_FIXTURE_TEST_CASE (GPUsortBlockHIP, TestEnvironment) | |
BOOST_FIXTURE_TEST_CASE (GPUsortBlockOperatorHIP, TestEnvironment) | |
Definition in file testGPUsortHIP.hip.cxx.
#define BOOST_TEST_DYN_LINK |
Definition at line 19 of file testGPUsortHIP.hip.cxx.
#define BOOST_TEST_MAIN |
Definition at line 18 of file testGPUsortHIP.hip.cxx.
Definition at line 17 of file testGPUsortHIP.hip.cxx.
#define GPUCA_GPUTYPE_VEGA |
Definition at line 15 of file testGPUsortHIP.hip.cxx.
BOOST_FIXTURE_TEST_CASE | ( | GPUsortBlockHIP | , |
TestEnvironment | |||
) |
Definition at line 138 of file testGPUsortHIP.hip.cxx.
BOOST_FIXTURE_TEST_CASE | ( | GPUsortBlockOperatorHIP | , |
TestEnvironment | |||
) |
Definition at line 146 of file testGPUsortHIP.hip.cxx.
BOOST_FIXTURE_TEST_CASE | ( | GPUsortThreadHIP | , |
TestEnvironment | |||
) |
Definition at line 118 of file testGPUsortHIP.hip.cxx.
BOOST_FIXTURE_TEST_CASE | ( | GPUsortThreadOperatorHIP | , |
TestEnvironment | |||
) |
Definition at line 126 of file testGPUsortHIP.hip.cxx.
hipError_t hipCheckError | ( | hipError_t | hipErrorCode | ) |
Definition at line 33 of file testGPUsortHIP.hip.cxx.
void hipCheckErrorFatal | ( | hipError_t | hipErrorCode | ) |
Definition at line 41 of file testGPUsortHIP.hip.cxx.
__global__ void sortInBlock | ( | float * | data, |
size_t | dataLength | ||
) |
Definition at line 105 of file testGPUsortHIP.hip.cxx.
__global__ void sortInBlockWithOperator | ( | float * | data, |
size_t | dataLength | ||
) |
Definition at line 110 of file testGPUsortHIP.hip.cxx.
__global__ void sortInThread | ( | float * | data, |
size_t | dataLength | ||
) |
Definition at line 87 of file testGPUsortHIP.hip.cxx.
__global__ void sortInThreadWithOperator | ( | float * | data, |
size_t | dataLength | ||
) |
Definition at line 95 of file testGPUsortHIP.hip.cxx.
void testAlmostEqualArray | ( | T * | correct, |
T * | testing, | ||
size_t | size | ||
) |
Definition at line 74 of file testGPUsortHIP.hip.cxx.