Skip to content

Commit a6a37a6

Browse files
committed
More formatting fixes
1 parent efe0e95 commit a6a37a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_ref_with_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct ST {
2020
#pragma omp target data map(to : m, d)
2121
{
2222
void *mapped_ptr = omp_get_mapped_ptr(&d, omp_get_default_device());
23-
printf("%d\n", mapped_ptr != NULL); // CHECK: 1
23+
printf("%d\n", mapped_ptr != NULL); // CHECK: 1
2424
#pragma omp target data map(m, d) use_device_addr(d)
2525
{
2626
// FIXME: Clang is mapping class member references using:

offload/test/mapping/use_device_addr/target_data_use_device_addr_class_member_with_map.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ struct ST {
2323
printf("%d\n", mapped_ptr != NULL); // CHECK: 1
2424
#pragma omp target data map(m, c) use_device_addr(c)
2525
{
26-
// FIXME: RT is currently doing the translation for "&this[0]" instead of
27-
// &this->c, for a map like:
26+
// FIXME: RT is currently doing the translation for "&this[0]" instead
27+
// of &this->c, for a map like:
2828
// this, &this->c, ..., RETURN_PARAM
2929
// We either need to fix RT, or emit a separate entry for such
3030
// use_device_addr, even if there is a matching map entry already.

0 commit comments

Comments
 (0)