Skip to content

[SYCL] Deprecate Intel extension ctz function #5333

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 21 commits into from
Jan 26, 2022
Merged

[SYCL] Deprecate Intel extension ctz function #5333

merged 21 commits into from
Jan 26, 2022

Conversation

IgorKharchikov
Copy link
Contributor

@IgorKharchikov IgorKharchikov commented Jan 18, 2022

ctz function is added to the core SYCL specification.
Added a test for fixed issue (changed namespace for ctz function).

Redefinition of default constructor image_accessor() (previously used "= default") to make it possible to use const references in parallel_for.
Reduced ad hoc test file.
Created new test for fixed issue with mismatched namespace for ctz function.
Rewritten call check.
Aborted changed constructor.
Changed commented line for testing purposes.
@IgorKharchikov IgorKharchikov requested a review from a team as a code owner January 18, 2022 16:32
long long int a = -9223372034707292160ll;
auto b = sycl::ctz(a);
return 0;
// CHECK: call spir_func i32 {{.*}}__sycl_std::__invoke_ctz{{.*}} i32 addrspace(1)*
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, learn about FileCheck works. You must invoke the right executable to make sense of this comment.

@bader bader changed the title [SYCL] Added test for fixed geninteger ctz function namespace [SYCL] Deprecate Intel extension ctz function Jan 26, 2022
@bader bader merged commit 50435a6 into intel:sycl Jan 26, 2022
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