Skip to content

Commit

Permalink
Add thread_local keyword to storage class restriction so that it can …
Browse files Browse the repository at this point in the history
…be found in searches of the spec
  • Loading branch information
Michael Kinsner committed Jul 9, 2019
1 parent 4a2dff3 commit f714c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions latex/compiler_abi.tex
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ \section{Language restrictions for kernels}
Recursion is not allowed in a SYCL kernel or any
code called from the kernel.
\item
Variables with thread storage duration are not allowed to be odr-used in
kernel code
Variables with thread storage duration (\lstinline{thread_local} storage class specifier)
are not allowed to be odr-used in kernel code.
\item
Variables with static storage duration that are odr-used inside a kernel
must be \lstinline{const} or \lstinline{constexpr} and zero-initialized or
Expand Down

0 comments on commit f714c21

Please sign in to comment.