Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Functions
DeviceVector_tests.cu File Reference

Tests for the DeviceVector class. More...

#include <iostream>
#include <numeric>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "../global/global.h"
#include "../utils/DeviceVector.h"
#include "../utils/testing_utilities.h"
Include dependency graph for DeviceVector_tests.cu:

Functions

 TEST (tALLDeviceVectorConstructor, CheckConstructorDataAndSizeExpectProperAllocationAndValues)
 
 TEST (tALLDeviceVectorDestructor, CheckDestructorExpectProperDeallocation)
 
 TEST (tALLDeviceVectorStdVectorHostToDeviceCopyAndIndexing, CheckDeviceMemoryValuesAndIndexingOperationsExpectCorrectMemoryValues)
 
 TEST (tALLDeviceVectorArrayHostToDeviceCopyAndIndexing, CheckDeviceMemoryValuesAndIndexingOperationsExpectCorrectMemoryValues)
 
 TEST (tALLDeviceVectorArrayAssignmentMethod, AssignSingleValuesExpectCorrectMemoryValues)
 
 TEST (tALLDeviceVectorStdVectorDeviceToHostCopy, CheckHostMemoryValuesExpectCorrectMemoryValues)
 
 TEST (tALLDeviceVectorArrayDeviceToHostCopy, CheckHostMemoryValuesExpectCorrectMemoryValues)
 
 TEST (tALLDeviceVectorReset, SetNewSizeExpectCorrectSize)
 
 TEST (tALLDeviceVectorResize, SetLargerSizeExpectCorrectSize)
 
 TEST (tALLDeviceVectorResize, SetSmallerSizeExpectCorrectSize)
 
 TEST (tALLDeviceVectorAt, OutOfBoundsAccessExpectThrowOutOfRange)
 
 TEST (tALLDeviceVectorStdVectorHostToDeviceCopy, OutOfBoundsCopyExpectThrowOutOfRange)
 
 TEST (tALLDeviceVectorStdVectorDeviceToHostCopy, OutOfBoundsCopyExpectThrowOutOfRange)
 

Detailed Description

Tests for the DeviceVector class.

Tests for the FrozenKeyIdxBiMap class.

Author
Robert 'Bob' Caddy (rvc@p.nosp@m.itt..nosp@m.edu)