@@ -1232,11 +1232,12 @@ TEST(auto_configure, streaming) {
1232
1232
const std::string config_str{
1233
1233
" 23 26 " RANDOM_HASH
1234
1234
" pac_a10 0 1 13 DDR 2 2 24 1 2 0 4294967296 4294967296 8589934592 0 - 0 "
1235
- " 0 0 0 1 3 device_global_name 256 128 1 103 _ZTS3CRCILi0EE 0 256 1 0 0 1 "
1235
+ " 0 0 0 1 3 device_global_name 256 128 1 105 _ZTS3CRCILi0EE 0 256 1 0 0 1 "
1236
1236
" 0 1 0 9 8 0 0 8 1 0 0 1 k0_ZTS3CRCILi0EE_arg0 8 2 1 8 1024 0 3 1 "
1237
1237
" k0_ZTS3CRCILi0EE_arg1 8 0 0 8 1 0 0 1 k0_ZTS3CRCILi0EE_arg2 7 0 0 8 1 0 "
1238
1238
" 0 0 7 0 0 8 1 0 0 0 7 2 1 8 1024 0 2 0 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 "
1239
- " 7 0 0 8 1 0 0 0 0 0 1 2 64 4096 1 1 1 3 1 1 1 3 1 0 1" };
1239
+ " 7 0 0 8 1 0 0 0 0 0 1 2 64 4096 1 1 1 3 1 1 1 3 1 0 1 "
1240
+ " k0_ZTS3CRCILi0EE_streaming_start k0_ZTS3CRCILi0EE_streaming_done " };
1240
1241
1241
1242
acl_device_def_autodiscovery_t devdef;
1242
1243
{
@@ -1252,6 +1253,10 @@ TEST(auto_configure, streaming) {
1252
1253
1253
1254
CHECK (!devdef.accel [0 ].is_sycl_compile );
1254
1255
CHECK (devdef.accel [0 ].streaming_control_info_available );
1256
+ CHECK (" k0_ZTS3CRCILi0EE_streaming_start" ==
1257
+ devdef.accel [0 ].streaming_control_info .start );
1258
+ CHECK (" k0_ZTS3CRCILi0EE_streaming_done" ==
1259
+ devdef.accel [0 ].streaming_control_info .done );
1255
1260
1256
1261
const auto &args = devdef.accel [0 ].iface .args ;
1257
1262
CHECK_EQUAL (9 , args.size ());
@@ -1274,13 +1279,14 @@ TEST(auto_configure, one_streaming_arg_and_streaming_kernel) {
1274
1279
const std::string config_str{
1275
1280
" 23 27 531091a097f0d7096b21f349b4b283f9e206ebc0 pac_s10 0 1 17 DDR 2 4 "
1276
1281
" 24 1 2 0 8589934592 8589934592 17179869184 17179869184 25769803776 "
1277
- " 25769803776 34359738368 0 - 0 0 0 0 0 0 1 123 _ZTS15binomial_kernel 0 "
1282
+ " 25769803776 34359738368 0 - 0 0 0 0 0 0 1 125 _ZTS15binomial_kernel 0 "
1278
1283
" 256 0 0 0 0 0 1 0 8 7 2 1 8 1024 0 2 0 8 0 0 8 1 0 0 1 "
1279
1284
" k0_ZTS15binomial_kernel_arg1 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 7 2 1 8 "
1280
1285
" 1024 0 2 0 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 0 0 16 2 64 "
1281
1286
" 8196 65 8196 66 8196 67 8196 68 8196 69 8196 70 8196 71 8196 72 8196 73 "
1282
1287
" 8196 74 8196 75 8196 76 8196 77 8196 78 8196 79 8196 1 1 1 3 1 1 1 3 1 "
1283
- " 1 1" };
1288
+ " 1 1 k0_ZTS15binomial_kernel_streaming_start "
1289
+ " k0_ZTS15binomial_kernel_streaming_done " };
1284
1290
1285
1291
acl_device_def_autodiscovery_t devdef;
1286
1292
{
@@ -1295,6 +1301,10 @@ TEST(auto_configure, one_streaming_arg_and_streaming_kernel) {
1295
1301
CHECK_EQUAL (1 , devdef.accel .size ());
1296
1302
1297
1303
CHECK (devdef.accel [0 ].streaming_control_info_available );
1304
+ CHECK (" k0_ZTS15binomial_kernel_streaming_start" ==
1305
+ devdef.accel [0 ].streaming_control_info .start );
1306
+ CHECK (" k0_ZTS15binomial_kernel_streaming_done" ==
1307
+ devdef.accel [0 ].streaming_control_info .done );
1298
1308
1299
1309
const auto &args = devdef.accel [0 ].iface .args ;
1300
1310
CHECK_EQUAL (8 , args.size ());
@@ -1314,13 +1324,14 @@ TEST(auto_configure, two_streaming_args_and_streaming_kernel) {
1314
1324
const std::string config_str{
1315
1325
" 23 27 531091a097f0d7096b21f349b4b283f9e206ebc0 pac_s10 0 1 17 DDR 2 4 "
1316
1326
" 24 1 2 0 8589934592 8589934592 17179869184 17179869184 25769803776 "
1317
- " 25769803776 34359738368 0 - 0 0 0 0 0 0 1 124 _ZTS15binomial_kernel 0 "
1327
+ " 25769803776 34359738368 0 - 0 0 0 0 0 0 1 126 _ZTS15binomial_kernel 0 "
1318
1328
" 256 0 0 0 0 0 1 0 8 8 2 1 8 1024 0 2 1 k0_ZTS15binomial_kernel_arg0 8 0 "
1319
1329
" 0 8 1 0 0 1 k0_ZTS15binomial_kernel_arg1 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 "
1320
1330
" 0 7 2 1 8 1024 0 2 0 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 7 0 0 8 1 0 0 0 0 "
1321
1331
" 0 16 2 64 8196 65 8196 66 8196 67 8196 68 8196 69 8196 70 8196 71 8196 "
1322
1332
" 72 8196 73 8196 74 8196 75 8196 76 8196 77 8196 78 8196 79 8196 1 1 1 3 "
1323
- " 1 1 1 3 1 1 1" };
1333
+ " 1 1 1 3 1 1 1 k0_ZTS15binomial_kernel_streaming_start "
1334
+ " k0_ZTS15binomial_kernel_streaming_done " };
1324
1335
1325
1336
acl_device_def_autodiscovery_t devdef;
1326
1337
{
@@ -1336,6 +1347,10 @@ TEST(auto_configure, two_streaming_args_and_streaming_kernel) {
1336
1347
1337
1348
CHECK (devdef.accel [0 ].is_sycl_compile );
1338
1349
CHECK (devdef.accel [0 ].streaming_control_info_available );
1350
+ CHECK (" k0_ZTS15binomial_kernel_streaming_start" ==
1351
+ devdef.accel [0 ].streaming_control_info .start );
1352
+ CHECK (" k0_ZTS15binomial_kernel_streaming_done" ==
1353
+ devdef.accel [0 ].streaming_control_info .done );
1339
1354
1340
1355
const auto &args = devdef.accel [0 ].iface .args ;
1341
1356
CHECK_EQUAL (8 , args.size ());
0 commit comments