Page MenuHomePhabricator

[mlir] Move cuda tests

Authored by csigg on Feb 25 2021, 4:48 AM.



Move test inputs to test/Integration directory.
Move runtime wrappers to ExecutionEngine.

Diff Detail

Unit TestsFailed

50 msx64 debian > Flang.Semantics::resolve102.f90
Script: -- : 'RUN: at line 1'; /mnt/disks/ssd0/agent/llvm-project/flang/test/Semantics/ /mnt/disks/ssd0/agent/llvm-project/flang/test/Semantics/resolve102.f90 /mnt/disks/ssd0/agent/llvm-project/build/tools/flang/test/Semantics/Output/resolve102.f90.tmp /mnt/disks/ssd0/agent/llvm-project/build/bin/f18 -intrinsic-module-directory /mnt/disks/ssd0/agent/llvm-project/build/tools/flang/include/flang
40 msx64 windows > LLVM.ExecutionEngine/JITLink/AArch64::MachO_arm64_ehframe.test
Script: -- : 'RUN: at line 1'; c:\ws\w16n2-1\llvm-project\premerge-checks\build\bin\llvm-jitlink.exe -noexec C:\ws\w16n2-1\llvm-project\premerge-checks\llvm\test\ExecutionEngine\JITLink\AArch64/Inputs/MachO_arm64_ehframe.o
60 msx64 windows > LLVM.ExecutionEngine/JITLink/AArch64::MachO_arm64_relocations.s
Script: -- : 'RUN: at line 1'; rm -rf C:\ws\w16n2-1\llvm-project\premerge-checks\build\test\ExecutionEngine\JITLink\AArch64\Output\MachO_arm64_relocations.s.tmp && mkdir -p C:\ws\w16n2-1\llvm-project\premerge-checks\build\test\ExecutionEngine\JITLink\AArch64\Output\MachO_arm64_relocations.s.tmp
80 msx64 windows > LLVM.ExecutionEngine/JITLink/X86::ELF_skip_debug_sections.s
Script: -- : 'RUN: at line 2'; c:\ws\w16n2-1\llvm-project\premerge-checks\build\bin\llvm-mc.exe -triple=x86_64-pc-linux-gnu -filetype=obj -o C:\ws\w16n2-1\llvm-project\premerge-checks\build\test\ExecutionEngine\JITLink\X86\Output\ELF_skip_debug_sections.s.tmp C:\ws\w16n2-1\llvm-project\premerge-checks\llvm\test\ExecutionEngine\JITLink\X86\ELF_skip_debug_sections.s
80 msx64 windows > LLVM.ExecutionEngine/JITLink/X86::ELF_weak_definitions.s
Script: -- : 'RUN: at line 1'; rm -rf C:\ws\w16n2-1\llvm-project\premerge-checks\build\test\ExecutionEngine\JITLink\X86\Output\ELF_weak_definitions.s.tmp && mkdir -p C:\ws\w16n2-1\llvm-project\premerge-checks\build\test\ExecutionEngine\JITLink\X86\Output\ELF_weak_definitions.s.tmp
View Full Test Results (20 Failed)

Event Timeline

csigg created this revision.Feb 25 2021, 4:48 AM
csigg requested review of this revision.Feb 25 2021, 4:48 AM
csigg updated this revision to Diff 326400.Feb 25 2021, 8:22 AM

Conditionally add mlir_cuda_runtime to test dependencies.

I have no idea why clang-tidy flags code in ADT that I didn't touch.

mehdi_amini accepted this revision.Feb 25 2021, 11:08 AM
This revision is now accepted and ready to land.Feb 25 2021, 11:08 AM

Can you double check that the mlir-nvidia buildbot is configured to activate the integration tests first?

Can you double check that the mlir-nvidia buildbot is configured to activate the integration tests first?

Thanks for reminding me. It looks like it isn't:

I will send a patch. I hope it's OK for the mlir-nvidia bot to run all integration tests?

csigg updated this revision to Diff 327698.Mar 3 2021, 12:43 AM


csigg updated this revision to Diff 327712.Mar 3 2021, 1:41 AM

Fix clang-tidy, hopefully.

csigg updated this revision to Diff 327723.Mar 3 2021, 2:25 AM

Needs C++14, not C++11.

This revision was landed with ongoing or failed builds.Mar 3 2021, 4:17 AM
Closed by commit rG9d7be77bf91e: [mlir] Move cuda tests (authored by csigg). · Explain Why
This revision was automatically updated to reflect the committed changes.