Skip to content

Conversation

@v-klochkov
Copy link
Contributor

Signed-off-by: Vyacheslav N Klochkov vyacheslav.n.klochkov@intel.com

Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
@vladimirlaz vladimirlaz merged commit 7e5a7aa into intel:sycl Apr 5, 2019
// ... first descriptor (translated to pointer kernel parameter):
// The parameter is a SYCL accessor object.
// The Info field of the parameter descriptor for accessor contains
// two template parameters packed into thid integer field:
Copy link
Contributor

@keryell keryell Apr 5, 2019

Choose a reason for hiding this comment

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

I do not understand this sentence.

But great to have all this new documentation. I love reading a lot of comments while reading some code. :-)

By the way @vladimirlaz can you wait a little bit longer before merging the commits? Because of the different timezones we do not have time to just look at the commits before merging...
One more day should be enough.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree to wait till next working day to let everybody provide comments

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 tried to make the comment better than it was before (it though had some misprint at L714: thid -> this).
It is sad that it causes questions and needs some rephrasing/rewriting.

Would this one be better? (I could update this place sometime in future when fix this file again).

The 2nd argument of the call H.addParamDesc() below defines what is written
to the accessor parameter descriptor and its int field 'Info'.
For the template class accessor<Type, Dimensions, Mode, Target, IsPlaceHolder>
it keeps both 'Target' and 'Dimensions' packed into that int field 'Info' as:
(Target | (Dimensions << 11)).

bb-sycl pushed a commit that referenced this pull request Jul 11, 2019
We are about to add enum attributes with AttrKind numbers >= 63. This
means we cannot use AttrKind #63 to test for an invalid attribute number
in the RAW format anymore. This patch changes the number of an invalid
attribute to #255. There is no change to the character of the tests.

Differential Revision: https://reviews.llvm.org/D64531

llvm-svn: 365722
vladimirlaz pushed a commit to vladimirlaz/llvm that referenced this pull request Oct 25, 2019
  CONFLICT (content): Merge conflict in clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
vmaksimo pushed a commit to vmaksimo/llvm that referenced this pull request Feb 19, 2021
  CONFLICT (content): Merge conflict in clang/lib/Driver/ToolChains/Clang.cpp
Zyntax9 pushed a commit to Zyntax9/llvm that referenced this pull request Apr 1, 2021
  CONFLICT (content): Merge conflict in clang/lib/Sema/SemaLookup.cpp
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