You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include "./fixture.h"
- #include "test/cuda/utils.h"
-
- #include <cuda_runtime_api.h>
- #include <gtest/gtest.h>
-
- void MegcoreCUDA::SetUp() {
- cuda_check(cudaGetDeviceCount(&nr_devices_));
- printf("We have %d GPUs\n", nr_devices_);
- }
-
- void MegcoreCUDA::TearDown() {
- cuda_check(cudaDeviceReset());
- }
-
- // vim: syntax=cpp.doxygen
|