This is an archive of the discontinued LLVM Phabricator instance.

[buildbot] Updated CUDA buildbot config.
ClosedPublic

Authored by tra on Feb 1 2018, 1:31 PM.

Details

Summary
  • use default clang version for builds.
  • build tests for sm_35 and sm_61
  • run tests on multiple GPUS
  • Run tests per each GPU specified in gpu_devices with only that GPU visible. This way tests don't have to implement any loop-over-all-visible-GPUs logic.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Feb 1 2018, 1:31 PM
gkistanova accepted this revision.Feb 1 2018, 2:18 PM

LGTM.
There is a cosmetic issue, but your change seems in line with the rest of the file, so, not sure if you would want to do this just for 2 ninja commands you are adding, or address it everywhere in this file as a separate patch.

zorg/buildbot/builders/CUDATestsuiteBuilder.py
157 ↗(On Diff #132466)

Here and in all the similar cases. It is better to have the description as an array of words, as it helps buildbot to format multiline text for compact views.

This revision is now accepted and ready to land.Feb 1 2018, 2:18 PM
tra added inline comments.Feb 1 2018, 2:29 PM
zorg/buildbot/builders/CUDATestsuiteBuilder.py
157 ↗(On Diff #132466)

Would string.split("some long description goes here") do ?
I'll do it in another patch.

This revision was automatically updated to reflect the committed changes.
tra added inline comments.Feb 5 2018, 12:47 PM
zorg/trunk/buildbot/osuosl/master/config/builders.py
1379

@gkistanova This chould've been clang++.
I've fixed the error in rL324267.