Skip to content

[SYCL] Fix error: too few template arguments for class template 'instance' #4315

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 2 commits into from
Aug 13, 2021
Merged

[SYCL] Fix error: too few template arguments for class template 'instance' #4315

merged 2 commits into from
Aug 13, 2021

Conversation

denis-kabanov
Copy link
Contributor

Add default argument for class template 'instance' to prevent errors associated with the loss of the arguments at compile time.

Add default argument for class template 'instance' to prevent possible
compile-time errors.
@denis-kabanov denis-kabanov requested a review from a team as a code owner August 11, 2021 15:18
@denis-kabanov denis-kabanov changed the title [SYCL] Add default argument for class template 'instance' [SYCL] Fix error: too few template arguments for class template 'instance' Aug 12, 2021
@denis-kabanov
Copy link
Contributor Author

@GarveyJoe Can you please tell what is the minimum acceptable value for sycl::ext::intel::buffer_location?

@MrSidims
Copy link
Contributor

According to https://software.intel.com/content/www/us/en/develop/download/oneapi-fpga-optimization-guide.html (section A8, table 37) buffer location index starts at 0 .

@denis-kabanov
Copy link
Contributor Author

@smaslov-intel Can you please review this code?

Copy link
Contributor

@mohammadfawaz mohammadfawaz left a comment

Choose a reason for hiding this comment

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

LGTM!

@denis-kabanov
Copy link
Contributor Author

@intel/llvm-reviewers-runtime Can someone review this code?

Copy link
Contributor

@smaslov-intel smaslov-intel 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 bader merged commit b41e8e4 into intel:sycl Aug 13, 2021
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.

5 participants