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

Splines fixes #224

Merged
merged 4 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
16 changes: 8 additions & 8 deletions benchmarks/splines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,29 +197,29 @@ unsigned int preconditionner_max_block_size_ref = 8u;
BENCHMARK(characteristics_advection)
->RangeMultiplier(2)
->Ranges(
{{100, 1000},
{{64, 1024},
{100, 500000},
{cols_per_par_chunk_ref, cols_per_par_chunk_ref},
{par_chunks_per_seq_chunk_ref, par_chunks_per_seq_chunk_ref},
{preconditionner_max_block_size_ref, preconditionner_max_block_size_ref}})
->MinTime(3);
->MinTime(3)->UseRealTime();
/*
BENCHMARK(characteristics_advection)
->RangeMultiplier(2)
->Ranges({{100, 1000}, {100000, 100000}, {64,65535}, {par_chunks_per_seq_chunk_ref, par_chunks_per_seq_chunk_ref}, {preconditionner_max_block_size_ref, preconditionner_max_block_size_ref}})
->MinTime(3);
->Ranges({{64, 1024}, {100000, 100000}, {64,65535}, {par_chunks_per_seq_chunk_ref, par_chunks_per_seq_chunk_ref}, {preconditionner_max_block_size_ref, preconditionner_max_block_size_ref}})
->MinTime(3)->UseRealTime();
*/
/*
BENCHMARK(characteristics_advection)
->RangeMultiplier(2)
->Ranges({{100, 1000}, {100000, 100000}, {cols_per_par_chunk_ref, cols_per_par_chunk_ref}, {1, 10000}, {preconditionner_max_block_size_ref, preconditionner_max_block_size_ref}})
->MinTime(3);
->Ranges({{64, 1024}, {100000, 100000}, {cols_per_par_chunk_ref, cols_per_par_chunk_ref}, {1, 10000}, {preconditionner_max_block_size_ref, preconditionner_max_block_size_ref}})
->MinTime(3)->UseRealTime();
*/
/*
BENCHMARK(characteristics_advection)
->RangeMultiplier(2)
->Ranges({{100, 1000}, {100000, 100000}, {cols_per_par_chunk_ref, cols_per_par_chunk_ref}, {par_chunks_per_seq_chunk_ref, par_chunks_per_seq_chunk_ref}, {1, 32}})
->MinTime(3);
->Ranges({{64, 1024}, {100000, 100000}, {cols_per_par_chunk_ref, cols_per_par_chunk_ref}, {par_chunks_per_seq_chunk_ref, par_chunks_per_seq_chunk_ref}, {1, 32}})
->MinTime(3)->UseRealTime();
*/

int main(int argc, char** argv)
Expand Down
2 changes: 1 addition & 1 deletion include/ddc/misc/ginkgo_executors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ inline std::shared_ptr<gko::Executor> create_gko_exec()
#endif
#ifdef KOKKOS_ENABLE_HIP
if (std::is_same_v<ExecSpace, Kokkos::HIP>) {
return gko::CudaExecutor::create(0, create_default_host_executor());
return gko::HipExecutor::create(0, create_default_host_executor());
}
#endif
}