SWDEV-440746 - Enable hipExtAnyOrderLaunch extension for PAL
Extension allows to execute the kernels without a wait barrier and L1 invalidation. Change-Id: I96c485204303f54a0240b93134f4560673e4bd17
이 커밋은 다음에 포함됨:
1 부모
0f9c624f4c
커밋
13c6f56ca9
2 파일이 변경됨
+15
-5
검색과 일치하는 파일 없음
@@ -2487,7 +2487,7 @@ void VirtualGPU::submitKernel(amd::NDRangeKernelCommand& vcmd) {
|
||||
|
||||
// Submit kernel to HW
|
||||
if (!queue->submitKernelInternal(vcmd.sizes(), vcmd.kernel(), vcmd.parameters(), false,
|
||||
vcmd.sharedMemBytes(), vcmd.cooperativeGroups())) {
|
||||
vcmd.sharedMemBytes())) {
|
||||
vcmd.setStatus(CL_INVALID_OPERATION);
|
||||
}
|
||||
|
||||
@@ -2503,7 +2503,7 @@ void VirtualGPU::submitKernel(amd::NDRangeKernelCommand& vcmd) {
|
||||
|
||||
// Submit kernel to HW
|
||||
if (!submitKernelInternal(vcmd.sizes(), vcmd.kernel(), vcmd.parameters(), false,
|
||||
vcmd.sharedMemBytes(), vcmd.cooperativeGroups())) {
|
||||
vcmd.sharedMemBytes(), vcmd.getAnyOrderLaunchFlag())) {
|
||||
vcmd.setStatus(CL_INVALID_OPERATION);
|
||||
}
|
||||
|
||||
@@ -2515,9 +2515,10 @@ void VirtualGPU::submitKernel(amd::NDRangeKernelCommand& vcmd) {
|
||||
bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
|
||||
const amd::Kernel& kernel, const_address parameters,
|
||||
bool nativeMem, uint32_t sharedMemBytes,
|
||||
bool cooperativeGroup) {
|
||||
bool anyOrder) {
|
||||
size_t newOffset[3] = {0, 0, 0};
|
||||
size_t newGlobalSize[3] = {0, 0, 0};
|
||||
state_.anyOrder_ = anyOrder;
|
||||
|
||||
int dim = -1;
|
||||
int iteration = 1;
|
||||
|
||||
새 이슈에서 참조
사용자 차단