The range should be assumed to be the hardware maximum
if a workitem intrinsic is used in a callable function
which does not know the restricted limit of the calling
kernel.
Details
Details
- Reviewers
kzhuravl
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
199 | Should there be a target property that returns the maximum size supported? 4 * wavefront size may not match every target. |
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
199 | It's the same for every target now, so there's no real point in adding one. |
Comment Actions
LGTM.
lib/Target/AMDGPU/AMDGPUSubtarget.cpp | ||
---|---|---|
199 | I think, if need arises, this can be done in separate change. |
Should there be a target property that returns the maximum size supported? 4 * wavefront size may not match every target.