Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content

DPCT1087

Message

DPC++ currently does not support cross group synchronization. You can specify
--use-experimental-features=nd_range_barrier
to use the dpct helper function
nd_range_barrier
to migrate
<grid type variable name>.sync()
.

Detailed Help

By default, the dpct helper function
nd_range_barrier
is not used to migrate CUDA grid level synchronization. To use
nd_range_barrier
to migrate CUDA grid level synchronization, specify
--use-experimental-features=nd_range_barrier
in the migration command.

Suggestions to Fix

Specify
--use-experimental-features=nd_range_barrier
in the migration command to use dpct helper function
nd_range_barrier
to migrate CUDA grid level synchronization.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.