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

Al/test device other than zero #1827

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Conversation

agnesLeroy
Copy link
Contributor

closes: please link all relevant issues

PR content/description

Check-list:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Relevant issues are marked as resolved/closed, related issues are linked in the description
  • Check for breaking changes (including serialization changes) and add them to commit message following the conventional commit specification

@agnesLeroy agnesLeroy requested a review from tmontaigu November 27, 2024 10:09
@cla-bot cla-bot bot added the cla-signed label Nov 27, 2024
@agnesLeroy agnesLeroy force-pushed the al/test_device_other_than_zero branch from 17076b8 to 6e36e67 Compare November 27, 2024 10:21
Copy link
Contributor

@tmontaigu tmontaigu left a comment

Choose a reason for hiding this comment

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

I think we need to improve this as it might get too easy to get confused between what is meant to index in the gpu_indexes array or what is a gpu_index as in the index cuda associate to the gpu

Re-introducing the new type GpuIndex for some APIs might be worth

tfhe/src/core_crypto/gpu/vec.rs Show resolved Hide resolved
@agnesLeroy agnesLeroy force-pushed the al/test_device_other_than_zero branch 3 times, most recently from df68e54 to c0b31f0 Compare November 29, 2024 15:49
@agnesLeroy
Copy link
Contributor Author

@tmontaigu I pushed a commit to the branch to reintroduce a GpuIndex type.

@agnesLeroy agnesLeroy requested a review from tmontaigu November 29, 2024 15:50
@agnesLeroy agnesLeroy force-pushed the al/test_device_other_than_zero branch from c0b31f0 to dc6c3fd Compare December 2, 2024 12:55
@zama-bot zama-bot removed the approved label Dec 2, 2024
@agnesLeroy agnesLeroy merged commit 38a7e4f into main Dec 2, 2024
105 checks passed
@agnesLeroy agnesLeroy deleted the al/test_device_other_than_zero branch December 2, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants