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

実行スペースを指定できるようにする #200

Open
wants to merge 39 commits into
base: support-more-precisions
Choose a base branch
from

Conversation

gandalfr-KY
Copy link
Contributor

close #140
support-more-precision ブランチにmergeしたいです.テストは編集していません

@gandalfr-KY gandalfr-KY mentioned this pull request Feb 7, 2025
template <Precision Prec>
using Matrix = Kokkos::View<Complex<Prec>**, Kokkos::LayoutRight>;
template <Precision Prec, ExecutionSpace Space>
using Matrix = Kokkos::View<Complex<Prec>**, Space>;
Copy link
Contributor

Choose a reason for hiding this comment

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

LayoutRightやめてパフォーマンス変わりませんか

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#200 (comment) と同じ理由で消えてました!
戻します

Comment on lines 30 to 31
{(std::int64_t)(state.dim() >> std::popcount(target_mask | control_mask)),
(std::int64_t)values.size()}),
Copy link
Contributor

Choose a reason for hiding this comment

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

static_castではだめだったんですか?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

手元でテストする際にいろいろ試していたら変わってたみたいです!
とくに理由はないので差し戻します.

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.

3 participants