Skip to content

Commit

Permalink
Get PTX version with launcher factory to avoid unsupported toolchain …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
NaderAlAwar committed Feb 28, 2025
1 parent fa0f687 commit 89a51d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/device/dispatch/dispatch_unique_by_key.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ struct DispatchUniqueByKey
{
// Get PTX version
int ptx_version = 0;
error = CubDebug(PtxVersion(ptx_version));
error = CubDebug(launcher_factory.PtxVersion(ptx_version));
if (cudaSuccess != error)
{
break;
Expand Down

0 comments on commit 89a51d5

Please sign in to comment.