This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget] [amdgpu] Ensure OMP_TEAMS_THREAD_LIMIT is not overwritten by the default workgroup size
Needs ReviewPublic

Authored by dhruvachak on Jun 29 2021, 5:25 PM.

Diff Detail

Event Timeline

dhruvachak created this revision.Jun 29 2021, 5:25 PM
dhruvachak requested review of this revision.Jun 29 2021, 5:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2021, 5:25 PM
JonChesterfield added a comment.EditedJun 29 2021, 6:00 PM

This stuff would also benefit from unit testing.

Generalising slightly, this looks a lot like a discrete optimisation problem. Find values for launch parameters subject to N constraints that we change slowly over time. I think there are two outputs - the values written to the HSA packet - and a lot of inputs.