#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.
|
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) |
|
◆ BOOST_TEST_DYN_LINK
#define BOOST_TEST_DYN_LINK |
◆ BOOST_TEST_MAIN
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE Test GPUCommonAlgorithm Sorting HIP |
◆ GPUCA_GPUTYPE_VEGA
#define GPUCA_GPUTYPE_VEGA |
◆ BOOST_FIXTURE_TEST_CASE() [1/4]
◆ BOOST_FIXTURE_TEST_CASE() [2/4]
◆ BOOST_FIXTURE_TEST_CASE() [3/4]
◆ BOOST_FIXTURE_TEST_CASE() [4/4]
◆ hipCheckError()
hipError_t hipCheckError |
( |
hipError_t |
hipErrorCode | ) |
|
◆ hipCheckErrorFatal()
void hipCheckErrorFatal |
( |
hipError_t |
hipErrorCode | ) |
|
◆ sortInBlock()
__global__ void sortInBlock |
( |
float * |
data, |
|
|
size_t |
dataLength |
|
) |
| |
◆ sortInBlockWithOperator()
__global__ void sortInBlockWithOperator |
( |
float * |
data, |
|
|
size_t |
dataLength |
|
) |
| |
◆ sortInThread()
__global__ void sortInThread |
( |
float * |
data, |
|
|
size_t |
dataLength |
|
) |
| |
◆ sortInThreadWithOperator()
__global__ void sortInThreadWithOperator |
( |
float * |
data, |
|
|
size_t |
dataLength |
|
) |
| |
◆ testAlmostEqualArray()
template<typename T >
void testAlmostEqualArray |
( |
T * |
correct, |
|
|
T * |
testing, |
|
|
size_t |
size |
|
) |
| |