@@ -1067,7 +1067,7 @@ class HIPSYCL_EMPTY_BASES accessor
1067
1067
{
1068
1068
if constexpr (has_accessor_properties) {
1069
1069
return this ->detail ::accessor::conditional_accessor_properties_storage<
1070
- has_accessor_properties>::get ().is_placeholder ();
1070
+ has_accessor_properties>::template get ().is_placeholder ();
1071
1071
} else if constexpr (AccessorVariant ==
1072
1072
accessor_variant::ranged_placeholder ||
1073
1073
AccessorVariant ==
@@ -1128,10 +1128,10 @@ class HIPSYCL_EMPTY_BASES accessor
1128
1128
ACPP_UNIVERSAL_TARGET range<dimensions> get_range () const noexcept {
1129
1129
if constexpr (has_access_range) {
1130
1130
return this ->detail ::accessor::conditional_access_range_storage<
1131
- has_access_range, dimensions>::ptr ()->range ;
1131
+ has_access_range, dimensions>::template ptr ()->range ;
1132
1132
} else if constexpr (has_buffer_range) {
1133
1133
return this ->detail ::accessor::conditional_buffer_range_storage<
1134
- has_buffer_range, dimensions>::get ();
1134
+ has_buffer_range, dimensions>::template get ();
1135
1135
} else {
1136
1136
return sycl::range<dimensions>{};
1137
1137
}
@@ -1147,7 +1147,7 @@ class HIPSYCL_EMPTY_BASES accessor
1147
1147
return sycl::id<dimensions>{};
1148
1148
} else {
1149
1149
return this ->detail ::accessor::conditional_access_range_storage<
1150
- has_access_range, dimensions>::ptr ()->offset ;
1150
+ has_access_range, dimensions>::template ptr ()->offset ;
1151
1151
}
1152
1152
}
1153
1153
@@ -1330,7 +1330,7 @@ class HIPSYCL_EMPTY_BASES accessor
1330
1330
is_no_init_access = this ->is_no_init (prop_list);
1331
1331
1332
1332
this ->detail ::accessor::conditional_accessor_properties_storage<
1333
- has_accessor_properties>::
1333
+ has_accessor_properties>::template
1334
1334
attempt_set (detail::accessor::accessor_properties{
1335
1335
is_placeholder_access, is_no_init_access});
1336
1336
}
@@ -1356,7 +1356,7 @@ class HIPSYCL_EMPTY_BASES accessor
1356
1356
1357
1357
if constexpr (has_accessor_properties) {
1358
1358
this ->detail ::accessor::conditional_accessor_properties_storage<
1359
- has_accessor_properties>::
1359
+ has_accessor_properties>::template
1360
1360
attempt_set (detail::accessor::accessor_properties{
1361
1361
is_placeholder_access, is_no_init_access});
1362
1362
}
@@ -1390,7 +1390,7 @@ class HIPSYCL_EMPTY_BASES accessor
1390
1390
range<adj_dimensions> get_buffer_shape () const noexcept {
1391
1391
if constexpr (has_buffer_range) {
1392
1392
return this ->detail ::accessor::conditional_buffer_range_storage<
1393
- has_buffer_range, adj_dimensions>::get ();
1393
+ has_buffer_range, adj_dimensions>::template get ();
1394
1394
} else {
1395
1395
return range<adj_dimensions>{};
1396
1396
}
@@ -1401,7 +1401,7 @@ class HIPSYCL_EMPTY_BASES accessor
1401
1401
if constexpr (has_buffer_pointer) {
1402
1402
return this
1403
1403
->detail ::accessor::conditional_buffer_pointer_storage<
1404
- has_buffer_pointer>::get ()
1404
+ has_buffer_pointer>::template get ()
1405
1405
.get_shared_ptr ();
1406
1406
}
1407
1407
return nullptr ;
@@ -1414,18 +1414,18 @@ class HIPSYCL_EMPTY_BASES accessor
1414
1414
__acpp_if_target_host (
1415
1415
auto buffer_region = detail::extract_buffer_data_region (buff);
1416
1416
this ->detail ::accessor::
1417
- conditional_buffer_pointer_storage<has_buffer_pointer>::attempt_set (
1417
+ conditional_buffer_pointer_storage<has_buffer_pointer>::template attempt_set (
1418
1418
detail::mobile_shared_ptr{buffer_region});
1419
1419
);
1420
1420
1421
1421
this ->detail ::accessor::conditional_access_range_storage<
1422
1422
has_access_range,
1423
- adj_dimensions>::attempt_set (detail::accessor::access_range<adj_dimensions>{
1423
+ adj_dimensions>::template attempt_set (detail::accessor::access_range<adj_dimensions>{
1424
1424
accessOffset, accessRange});
1425
1425
1426
1426
this ->detail ::accessor::conditional_buffer_range_storage<
1427
1427
has_buffer_range,
1428
- adj_dimensions>::attempt_set (detail::extract_buffer_range (buff));
1428
+ adj_dimensions>::template attempt_set (detail::extract_buffer_range (buff));
1429
1429
}
1430
1430
1431
1431
void init_host_buffer (rt::runtime* rt, bool is_no_init) {
@@ -1434,7 +1434,7 @@ class HIPSYCL_EMPTY_BASES accessor
1434
1434
1435
1435
auto data_mobile_ptr =
1436
1436
this ->detail ::accessor::conditional_buffer_pointer_storage<
1437
- has_buffer_pointer>::get ();
1437
+ has_buffer_pointer>::template get ();
1438
1438
auto data = data_mobile_ptr.get_shared_ptr ();
1439
1439
assert (data);
1440
1440
@@ -1534,7 +1534,7 @@ class HIPSYCL_EMPTY_BASES accessor
1534
1534
bool is_no_init () {
1535
1535
if (has_accessor_properties) {
1536
1536
bool flag = this ->detail ::accessor::conditional_accessor_properties_storage<
1537
- has_accessor_properties>::ptr ()
1537
+ has_accessor_properties>::template ptr ()
1538
1538
->is_no_init ();
1539
1539
if (flag)
1540
1540
return true ;
0 commit comments