Skip to content

Commit

Permalink
Fixes #619: Corrected check for presence of non-default launch config…
Browse files Browse the repository at this point in the history
… parameters, and the launch config equality operator
  • Loading branch information
eyalroz committed Mar 25, 2024
1 parent 53b64af commit 1123d8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cuda/api/launch_configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ struct launch_configuration_t {
if (block_cooperation) { return true; }
#if CUDA_VERSION >= 12000
return programmatically_dependent_launch or programmatic_completion.event
or in_remote_memory_synchronization_domain or clustering.cluster_dimensions == grid::dimensions_t::point();
or in_remote_memory_synchronization_domain or clustering.cluster_dimensions != grid::dimensions_t::point();
#else
return false;
#endif
Expand Down Expand Up @@ -196,6 +196,8 @@ constexpr bool operator==(const launch_configuration_t lhs, const launch_configu
and lhs.programmatically_dependent_launch == rhs.programmatically_dependent_launch
and lhs.programmatic_completion.event == rhs.programmatic_completion.event
and lhs.in_remote_memory_synchronization_domain == rhs.in_remote_memory_synchronization_domain
and lhs.clustering.cluster_dimensions == rhs.clustering.cluster_dimensions
and lhs.clustering.scheduling_policy == rhs.clustering.scheduling_policy
#endif // CUDA_VERSION >= 12000
;
}
Expand Down

0 comments on commit 1123d8e

Please sign in to comment.