Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radix sort one-sweep #117

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

meistdan
Copy link
Collaborator

@meistdan meistdan commented Feb 19, 2025

Porting the code from the previous repo/PR: amdadvtech#87

@meistdan meistdan marked this pull request as draft February 19, 2025 00:32
@meistdan meistdan requested review from KaoCC and removed request for KaoCC February 19, 2025 00:33
}
}
int maxBlocksPerMP = 0;
oroError e = oroOccupancyMaxActiveBlocksPerMultiprocessor( &maxBlocksPerMP, oroFunctions[Kernel::SORT_GHISTOGRAM], GHISTOGRAM_THREADS_PER_BLOCK, 0 );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I forgot to fix it to oroModuleOccupancyMaxActiveBlocksPerMultiprocessor
based on #96

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the fix? Just changing oroOccupancyMaxActiveBlocksPerMultiprocessor --> oroModuleOccupancyMaxActiveBlocksPerMultiprocessor?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. "module" is for driver api

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oroOccupancyMaxActiveBlocksPerMultiprocessor always fails

@AtsushiYoshimura0302
Copy link
Contributor

I checked behavior on RX 7900 XTX and RTX 4090 and worked well :)

@meistdan meistdan requested review from RichardGe and removed request for RichardGe February 19, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants