File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sycl/doc/extensions/InvokeSIMD Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -385,8 +385,10 @@ the user to insert any form of explicit synchronization functions to ensure
385
385
memory consistency across SIMD lanes.
386
386
387
387
Due to potential differences in execution model, a SIMD function cannot call
388
- a `SYCL_EXTERNAL` function that was compiled for a SPMD context. Behavior in
389
- this case is undefined.
388
+ any function that was compiled for a SPMD context. `SYCL_EXTERNAL` functions
389
+ defined in a different translation unit to the SIMD function are not required
390
+ to be compiled for SIMD contexts by default, and as a result such functions
391
+ are incompatible with SIMD functions by default.
390
392
391
393
NOTE: Implementations are encouraged to throw an error in cases where this
392
394
behavior can be detected, and to do so as early as possible.
You can’t perform that action at this time.
0 commit comments