Skip to content

Vectorized prim_to_cons And cons_to_prims #3

Open
tim-pearson wants to merge 24 commits intomainfrom
vec-prim_to_cons
Open

Vectorized prim_to_cons And cons_to_prims #3
tim-pearson wants to merge 24 commits intomainfrom
vec-prim_to_cons

Conversation

@tim-pearson
Copy link
Copy Markdown
Collaborator

  • merged main branch to include advection convergence tests
  • benchmarks for the vectorized kernals

Copy link
Copy Markdown
Member

@tpadioleau tpadioleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First review more on the form than the content

#include <euler_arrays.hpp>
#include <perfect_gas.hpp>


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@@ -1,9 +1,12 @@
#pragma once


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

#include <euler_arrays.hpp>
#include <perfect_gas.hpp>


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

#include "benchmark_utils.hpp"
#include "index_type.hpp"
#include "real_type.hpp"
#include "utils.hpp"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include "utils.hpp"
#include <utils.hpp>

It is coming from -I/-isystem paths

Comment on lines 42 to +43
}
void ConsToPrimVectorized(benchmark::State& state)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
void ConsToPrimVectorized(benchmark::State& state)
}
void ConsToPrimVectorized(benchmark::State& state)

Comment thread test/CMakeLists.txt Outdated
@@ -0,0 +1,19 @@

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Comment thread utils/utils.hpp
Comment on lines +1 to +2
#pragma once
#include <Kokkos_Core.hpp>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#pragma once
#include <Kokkos_Core.hpp>
#pragma once
#include <Kokkos_Core.hpp>

Comment thread utils/utils.hpp
#pragma once
#include <Kokkos_Core.hpp>

#include "euler_arrays.hpp"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include "euler_arrays.hpp"
#include <euler_arrays.hpp>

Comment thread utils/utils.hpp
Comment on lines +31 to +33



Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Comment thread CMakeLists.txt Outdated

add_subdirectory(benchmarks)


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants