GPU tests for the DotMP library.
More...
GPU tests for the DotMP library.
◆ Collapse_works()
void DotMPTests.GPUTests.Collapse_works |
( |
| ) |
|
|
inline |
Tests to make sure that DotMP.GPU.Parallel.ForCollapse produces correct results.
◆ GPU_for_works()
void DotMPTests.GPUTests.GPU_for_works |
( |
| ) |
|
|
inline |
Tests to make sure that for loops work in GPU kernels.
◆ One_dimensional_buffer_works()
void DotMPTests.GPUTests.One_dimensional_buffer_works |
( |
| ) |
|
|
inline |
Tests to ensure that 1D buffers work.
◆ random_init< T >()
void DotMPTests.GPUTests.random_init< T > |
( |
T[] |
arr | ) |
|
|
inlineprivate |
Randomly initialize an array of type T.
- Template Parameters
-
T | The type to initialize to. |
- Parameters
-
arr | The allocated array to store values into. |
◆ Three_dimensional_buffer_works()
void DotMPTests.GPUTests.Three_dimensional_buffer_works |
( |
| ) |
|
|
inline |
Tests to ensure that 3D buffers work.
◆ Two_dimensional_buffer_works()
void DotMPTests.GPUTests.Two_dimensional_buffer_works |
( |
| ) |
|
|
inline |
Tests to ensure that 2D buffers work.
The documentation for this class was generated from the following file: