Skip to content

Commit

Permalink
Enable PDL in triple chevron launch (NVIDIA#3282)
Browse files Browse the repository at this point in the history
It seems PDL was disabled by accident when _THRUST_HAS_PDL was renamed
to _CCCL_HAS_PDL during the review introducing the feature.
  • Loading branch information
bernhardmgruber authored and davebayer committed Jan 18, 2025
1 parent deefa87 commit 3f3f897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrust/thrust/system/cuda/detail/core/triple_chevron_launch.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct _CCCL_VISIBILITY_HIDDEN triple_chevron
template <class K, class... Args>
cudaError_t _CCCL_HOST doit_host(K k, Args const&... args) const
{
#if _THRUST_HAS_PDL
#if _CCCL_HAS_PDL
if (dependent_launch)
{
cudaLaunchAttribute attribute[1];
Expand All @@ -87,7 +87,7 @@ struct _CCCL_VISIBILITY_HIDDEN triple_chevron
cudaLaunchKernelEx(&config, k, args...);
}
else
#endif // _THRUST_HAS_PDL
#endif // _CCCL_HAS_PDL
{
k<<<grid, block, shared_mem, stream>>>(args...);
}
Expand Down

0 comments on commit 3f3f897

Please sign in to comment.