Skip to content

PR #13872: Fix build issue for ir_emitter_triton_test - #69914

Merged
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_644170288
Jun 18, 2024
Merged

copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_644170288

Conversation

@copybara-service

Copy link
Copy Markdown

PR #13872: Fix build issue for ir_emitter_triton_test

Imported from GitHub PR openxla/xla#13872

Build error is encountered in OSS for target ir_emitter_triton_test:
#10 283.3 ./xla/service/memory_space_assignment/cost_analysis.h:118:28: note: replace 'default' with 'delete'
#10 283.3 118 | HloCostAnalysisCosts() = default;
#10 283.3 | ^~~~~~~
#10 283.3 | delete
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1428:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 1428 | ASSERT_OK(backend_config_or);
#10 283.3 | ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1442:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 1442 | ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3 | ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1460:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 1460 | ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3 | ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1975:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 1975 | ASSERT_OK(backend_config_or);
#10 283.3 | ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1989:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 1989 | ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3 | ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:2006:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3 2006 | ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));

Fix: Replaced ASSERT_OK with TF_ASSERT_OK
Copybara import of the project:

--
f082bea2423cdeb3ffe369ab0702d27aa97d36dc by Harshit Monish [email protected]:

Update ir_emitter_triton_test.cc

replace ASSERT_OK with TF_ASSERT_OK

Merging this change closes #13872

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#13872 from hmonishN:hmonish/fix_oss_build_failure f082bea2423cdeb3ffe369ab0702d27aa97d36dc

@copybara-service
copybara-service Bot force-pushed the exported_pr_644170288 branch from 64bb07d to ccbcb44 Compare June 18, 2024 00:15
Imported from GitHub PR openxla/xla#13872

Build error is encountered in OSS for target ir_emitter_triton_test:
#10 283.3 ./xla/service/memory_space_assignment/cost_analysis.h:118:28: note: replace 'default' with 'delete'
#10 283.3   118 |   HloCostAnalysisCosts() = default;
#10 283.3       |                            ^~~~~~~
#10 283.3       |                            delete
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1428:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  1428 |   ASSERT_OK(backend_config_or);
#10 283.3       |   ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1442:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  1442 |   ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3       |   ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1460:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  1460 |   ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3       |   ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1975:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  1975 |   ASSERT_OK(backend_config_or);
#10 283.3       |   ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:1989:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  1989 |   ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));
#10 283.3       |   ^
#10 283.3 xla/service/gpu/ir_emitter_triton_test.cc:2006:3: error: use of undeclared identifier 'ASSERT_OK'
#10 283.3  2006 |   ASSERT_OK(triton_dot_fusion->set_backend_config(backend_config));

Fix: Replaced ASSERT_OK with TF_ASSERT_OK
Copybara import of the project:

--
f082bea2423cdeb3ffe369ab0702d27aa97d36dc by Harshit Monish <[email protected]>:

Update ir_emitter_triton_test.cc

replace ASSERT_OK with TF_ASSERT_OK

Merging this change closes #13872

PiperOrigin-RevId: 644187806
@copybara-service
copybara-service Bot force-pushed the exported_pr_644170288 branch from ccbcb44 to c5cc2d7 Compare June 18, 2024 01:22
@copybara-service copybara-service Bot closed this Jun 18, 2024
@copybara-service
copybara-service Bot deleted the exported_pr_644170288 branch June 18, 2024 01:22
@copybara-service
copybara-service Bot merged commit c5cc2d7 into master Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OS X: tensorflow java image not found

1 participant