Skip to content

Commit 555c0dc

Browse files
authored
Merge pull request llvm#77 from AMD-Lightning-Internal/amd/dev/jlambert/comgr-offload-bundler-test-fix
[Comgr] Temporarily disable buggy Offload Bundler API test
2 parents 45dc159 + 481b866 commit 555c0dc

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

amd/comgr/test/unbundle_hip_test.c

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,11 @@ int main(int Argc, char *Argv[]) {
182182
Status = amd_comgr_release_data(DataElement);
183183
checkError(Status, "amd_comgr_release_data");
184184

185-
if (BytesSize != 0) {
186-
printf("Bitcode host element size: %ld (expected 0)\n", BytesSize);
187-
exit(1);
188-
}
185+
// TODO: Re-enable after finalizing LLVM PR #122629
186+
//if (BytesSize != 0) {
187+
// printf("Bitcode host element size: %ld (expected 0)\n", BytesSize);
188+
// exit(1);
189+
//}
189190

190191
// bitcode hip-gfx900 element (non-empty)
191192
Status = amd_comgr_action_data_get_data(
@@ -247,10 +248,11 @@ int main(int Argc, char *Argv[]) {
247248
Status = amd_comgr_release_data(DataElement);
248249
checkError(Status, "amd_comgr_release_data");
249250

250-
if (BytesSize != 0) {
251-
printf("Object host element size: %ld (expected empty)\n", BytesSize);
252-
exit(1);
253-
}
251+
// TODO: Re-enable after finalizing LLVM PR #122629
252+
//if (BytesSize != 0) {
253+
// printf("Object host element size: %ld (expected empty)\n", BytesSize);
254+
// exit(1);
255+
//}
254256

255257
// object hip-gfx900 element (non-empty)
256258
Status = amd_comgr_action_data_get_data(

0 commit comments

Comments
 (0)