Repository navigation
PR #13872: Fix build issue for ir_emitter_triton_test - #69914
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
exported_pr_644170288
branch
from
June 18, 2024 00:15
64bb07d to
ccbcb44
Compare
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
Bot
force-pushed
the
exported_pr_644170288
branch
from
June 18, 2024 01:22
ccbcb44 to
c5cc2d7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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