Skip to content

Commit 7ffdaac

Browse files
Enable PDL in triple chevron launch (#3282)
It seems PDL was disabled by accident when _THRUST_HAS_PDL was renamed to _CCCL_HAS_PDL during the review introducing the feature.
1 parent 390081e commit 7ffdaac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

thrust/thrust/system/cuda/detail/core/triple_chevron_launch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct _CCCL_VISIBILITY_HIDDEN triple_chevron
7070
template <class K, class... Args>
7171
cudaError_t _CCCL_HOST doit_host(K k, Args const&... args) const
7272
{
73-
#if _THRUST_HAS_PDL
73+
#if _CCCL_HAS_PDL
7474
if (dependent_launch)
7575
{
7676
cudaLaunchAttribute attribute[1];
@@ -87,7 +87,7 @@ struct _CCCL_VISIBILITY_HIDDEN triple_chevron
8787
cudaLaunchKernelEx(&config, k, args...);
8888
}
8989
else
90-
#endif // _THRUST_HAS_PDL
90+
#endif // _CCCL_HAS_PDL
9191
{
9292
k<<<grid, block, shared_mem, stream>>>(args...);
9393
}

0 commit comments

Comments
 (0)