|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Tests for the shared constructs. More...
#include <stdio.h>#include <type_traits>#include <gtest/gtest.h>#include "../utils/error_handling.h"#include "../utils/gpu.hpp"#include "../utils/shared.h"
Classes | |
| class | tALLSharedConstructTest< SharedConstructT > |
Typedefs | |
| using | MyTypes = ::testing::Types< SharedHandle< long >, SharedDevPtr< long > > |
Functions | |
| __global__ void | check_empty_kernel_ (const SharedHandle< long > handle, bool *out_ptr) |
| __global__ void | check_empty_kernel_ (const SharedDevPtr< long > ptr, bool *out_ptr) |
| template<typename SharedConstructT > | |
| bool | device_check_empty_ (const SharedConstructT &shared_construct) |
| __global__ void | get_wrapped_kernel_ (const SharedHandle< long > handle, long *out_ptr) |
| __global__ void | get_wrapped_kernel_ (const SharedDevPtr< long > ptr, long **out_ptr) |
| template<typename SharedConstructT > | |
| SharedConstructT::wrapped_ref_type | device_get_ (const SharedConstructT &shared_construct) |
| TYPED_TEST_SUITE (tALLSharedConstructTest, MyTypes) | |
| TYPED_TEST (tALLSharedConstructTest, CheckEmptyHost) | |
| TYPED_TEST (tALLSharedConstructTest, CheckEmptyDevice) | |
| TYPED_TEST (tALLSharedConstructTest, NonEmptyDestructorReleaseOwnership) | |
| TYPED_TEST (tALLSharedConstructTest, NonEmptyResetReleaseOwnership) | |
| TYPED_TEST (tALLSharedConstructTest, CopyConstructEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, CopyConstructNonEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, MoveConstructEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, MoveConstructNonEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, SelfCopyAssign) | |
| TYPED_TEST (tALLSharedConstructTest, CopyAssignEmptyToEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, CopyAssignNonEmptyToNonEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, MoveAssignEmptyToEmpty) | |
| TYPED_TEST (tALLSharedConstructTest, MoveAssignNonEmpty) | |
Tests for the shared constructs.