Skip to content

[SYCL-PTX] Add builtins for the relational category #1831

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

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

Naghasan
Copy link
Contributor

@Naghasan Naghasan commented Jun 8, 2020

Remove old forward declared SPIR-V builtin from the relational category.
Update the binding file using the header generator.
Add relevant binding test.
Remove XFAIL from related SYCL tests.

Note there is a dependency with #1828 but can be reviewed independently.

Signed-off-by: Victor Lomuller victor@codeplay.com

@Naghasan Naghasan requested review from bader and a team as code owners June 8, 2020 11:01
@Naghasan Naghasan requested a review from rbegam June 8, 2020 11:01
@Naghasan Naghasan changed the title [SYCL-PTX] Add builtins for the relational category [WIP][SYCL-PTX] Add builtins for the relational category Jun 8, 2020
@bader bader added cuda CUDA back-end libclc libclc project related issues labels Jun 8, 2020
@Naghasan Naghasan force-pushed the victor/spirv-ptx-relational branch from aaf44a8 to a423507 Compare June 8, 2020 11:18
@@ -13,11 +13,30 @@

def ignore_function(fun):
whitelist = [
<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

This should go away after rebasing to #1828.

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 fixed this

//
//===----------------------------------------------------------------------===//

// Autogenerated by gen-libclc-test.py
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep auto-generated tests under version control or just the script which generates them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The script takes a while to generate everything, it is only not meant to be constantly rerun as the builtins are not meant to change.

@rbegam
Copy link
Contributor

rbegam commented Jun 16, 2020

Hi @Naghasan this is marked as WIP. Do you want me to review it now or wait for the next commit?

@Naghasan
Copy link
Contributor Author

Naghasan commented Jun 17, 2020

Hi @Naghasan this is marked as WIP. Do you want me to review it now or wait for the next commit?

@rbegam That can be reviewed, the WIP is only because there is an implicit dependency with #1828 so can't build on its own. Although, #1828 is not required to review this one.

@Naghasan Naghasan force-pushed the victor/spirv-ptx-relational branch from a423507 to 8bcbcf4 Compare June 17, 2020 14:26
@Naghasan
Copy link
Contributor Author

@bader @rbegam bumped to sycl tip and fixed the git conflict marker issue

rbegam
rbegam previously approved these changes Jun 17, 2020
Copy link
Contributor

@rbegam rbegam left a comment

Choose a reason for hiding this comment

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

LGTM

@bader
Copy link
Contributor

bader commented Jun 18, 2020

@Naghasan, #1828 is merged. Could you resolve merge conflicts, please?

Signed-off-by: Victor Lomuller <victor@codeplay.com>
Co-authored-by: David Wood <david.wood@codeplay.com>
@Naghasan
Copy link
Contributor Author

@bader done :)

@Naghasan Naghasan changed the title [WIP][SYCL-PTX] Add builtins for the relational category [SYCL-PTX] Add builtins for the relational category Jun 19, 2020
@bader bader requested a review from rbegam June 23, 2020 13:10
@bader
Copy link
Contributor

bader commented Jun 23, 2020

@intel/llvm-reviewers-runtime, ping.

@bader bader merged commit d4e7929 into intel:sycl Jun 23, 2020
alexbatashev pushed a commit to alexbatashev/llvm that referenced this pull request Jun 24, 2020
* upstream/sycl:
  [SYCL] Implement braced-init-list or a number as range for queue::parallel_for (intel#1931)
  [SYCL][Doc] Add SYCL_INTEL_accessor_properties extension specification (intel#1925)
  [SYCL-PTX] Add builtins for the relational category (intel#1831)
  [SYCL][CUDA] Remove unnecessary memfence (intel#1935)
  [SYCL] Add handling for wrapped sampler (intel#1942)
  [SYCL] Release notes for June'20 DPCPP implementation update (intel#1948)
  [SYCL] Fix assert when calling get_binaries() on host (intel#1944)
  [SYCL] Fix check for reqd_sub_group_size attribute mismatches (intel#1905)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA back-end libclc libclc project related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants