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

Buckify breeze #11512

Closed
wants to merge 1 commit into from
Closed

Buckify breeze #11512

wants to merge 1 commit into from

Conversation

Yuhta
Copy link
Contributor

@Yuhta Yuhta commented Nov 12, 2024

Differential Revision: D65797319

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 12, 2024
Copy link

netlify bot commented Nov 12, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 55bbfb3
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67353b3fd569060008ee6f9d

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@aditi-pandit
Copy link
Collaborator

@Yuhta : Just curious. What is breeze ?

@Yuhta
Copy link
Contributor Author

Yuhta commented Nov 13, 2024

@aditi-pandit Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

@Yuhta
Copy link
Contributor Author

Yuhta commented Nov 13, 2024

CC: @dreveman

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@@ -26,6 +27,7 @@ add_executable(
add_test(velox_wave_common_test velox_wave_common_test)
set_tests_properties(velox_wave_common_test PROPERTIES LABELS cuda_driver)

target_include_directories(velox_wave_common_test PRIVATE ../../../breeze)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Better to use a header-only library for CMake.
https://discourse.cmake.org/t/header-only-library/5476

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will leave this to @dreveman to encapsulate the library in a cmake project

Choose a reason for hiding this comment

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

Yep, sounds like a good thing to do as a follow up.

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Yuhta added a commit to Yuhta/velox that referenced this pull request Nov 13, 2024
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
Summary:
Breeze is a new library developed by Rivos for cross platform SIMT acceleration. We keep it inside Velox so that it can be co-evolved with Velox.

Pull Request resolved: facebookincubator#11512

bypass-github-export-checks

Reviewed By: oerling

Differential Revision: D65797319
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65797319

Copy link

@dreveman dreveman left a comment

Choose a reason for hiding this comment

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

lgtm. just some suggestions but they can also be done as follow ups

@@ -235,7 +235,7 @@ struct OpenMPPlatform {
inline unsigned lower_rank_lanemask() {
static_assert(WARP_THREADS <= sizeof(unsigned) * 8,
"WARP_THREADS must be less or equal to unsigned bits");
return (1 << lane_idx()) - 1;
return (1u << lane_idx()) - 1;

Choose a reason for hiding this comment

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

can you move this change to a separate commit that has a short commit message explaining the need for it?

@@ -166,7 +166,7 @@ class BadDeviceAlloc : public std::exception {
",free=" + std::to_string(free) +
",total=" + std::to_string(total) + ")") {}

virtual const char *what() const throw() { return message_.c_str(); }
virtual const char *what() const noexcept { return message_.c_str(); }

Choose a reason for hiding this comment

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

same here. separate commit would be nice for this.

// Copyright (c) 2024 by Rivos Inc.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

Choose a reason for hiding this comment

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

Now that we're checking in this code. Let's make the generator code add a comment here that makes it clear that this file was auto-generated and should not be edited directly. Something like:

/*
 * This file is auto-generated from test/generate.sh
 * DO NOT EDIT!
 */

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry only saw this comment after merging, it's a good idea, can you add it to #11537?

Choose a reason for hiding this comment

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

Yep, I’ll take care of it

@@ -26,6 +27,7 @@ add_executable(
add_test(velox_wave_common_test velox_wave_common_test)
set_tests_properties(velox_wave_common_test PROPERTIES LABELS cuda_driver)

target_include_directories(velox_wave_common_test PRIVATE ../../../breeze)

Choose a reason for hiding this comment

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

Yep, sounds like a good thing to do as a follow up.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c069192.

Copy link

Conbench analyzed the 1 benchmark run on commit c069192e.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants