Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remaining warnings #1189

Merged
merged 2 commits into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cuda/test/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ginkgo_create_cuda_test(array)
ginkgo_create_cuda_test(cuda_executor)
ginkgo_create_cuda_test(index_set)
ginkgo_create_test(index_set)
ginkgo_create_test(cuda_executor_reset ADDITIONAL_LIBRARIES Threads::Threads)
if(GINKGO_HAVE_HWLOC)
find_package(NUMA REQUIRED)
Expand Down
9 changes: 0 additions & 9 deletions cuda/test/base/index_set.cu → cuda/test/base/index_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ class index_set : public ::testing::Test {
}
}

static void assert_equal_arrays(const T num_elems, const T* a, const T* b)
{
if (num_elems > 0) {
for (auto i = 0; i < num_elems; ++i) {
EXPECT_EQ(a[i], b[i]);
}
}
}

std::shared_ptr<const gko::Executor> exec;
std::shared_ptr<gko::CudaExecutor> cuda;
};
Expand Down
1 change: 0 additions & 1 deletion doc/conf/Doxyfile-pdf.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ LATEX_TIMESTAMP = NO
PREDEFINED = @default_predefined_macros@ protected=private

# hide all unnecessary graphs
CLASS_DIAGRAMS = NO
CLASS_GRAPH = NO
COLLABORATION_GRAPH = NO
GROUP_GRAPHS = NO
Expand Down
3 changes: 1 addition & 2 deletions doc/conf/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES

# Graph generation
CLASS_DIAGRAMS = YES
CLASS_GRAPH = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
GRAPHICAL_HIERARCHY = YES
Expand Down
2 changes: 1 addition & 1 deletion hip/test/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ginkgo_create_hip_test(hip_executor)
ginkgo_create_hip_test(index_set)
ginkgo_create_test(index_set)
ginkgo_create_test(hip_executor_reset ADDITIONAL_LIBRARIES Threads::Threads)
if(GINKGO_HAVE_HWLOC)
find_package(NUMA REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ class index_set : public ::testing::Test {
}
}

static void assert_equal_arrays(const T num_elems, const T* a, const T* b)
{
if (num_elems > 0) {
for (auto i = 0; i < num_elems; ++i) {
EXPECT_EQ(a[i], b[i]);
}
}
}

std::shared_ptr<const gko::Executor> exec;
std::shared_ptr<gko::HipExecutor> hip;
};
Expand Down