SWDEV-419664 - Set reserved0 field of hsa_kernel_dispatch_packet to zero
Change-Id: I2e9c503f1c393548aacad47d40da90a2126e522c
Tá an tiomantas seo le fáil i:
1 tuismitheoir
2bc6661737
tiomantas
96ac99b4a0
1 comhad athraithe
+1
-1
@@ -468,7 +468,7 @@ hsa_kernel_dispatch_packet_t* HSAILKernel::loadArguments(
|
||||
hsaDisp->grid_size_x = global[0];
|
||||
hsaDisp->grid_size_y = (sizes.dimensions() > 1) ? global[1] : 1;
|
||||
hsaDisp->grid_size_z = (sizes.dimensions() > 2) ? global[2] : 1;
|
||||
hsaDisp->reserved2 = 0;
|
||||
hsaDisp->reserved0 = 0;
|
||||
|
||||
// Initialize kernel ISA and execution buffer requirements
|
||||
hsaDisp->private_segment_size = spillSegSize();
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir