HomePhabricator

[test-suite, CUDA] Make sure we use the thrust library from test external dir.

Description

[test-suite, CUDA] Make sure we use the thrust library from test external dir.

CUDA SDK comes with its own copy of thrust in its includes. In order to
guarantee that our thrust tests pick up the headers from the right place,
we need to ensure that thrust include paths precede any explicit CUDA
include paths.

Differential Revision: https://reviews.llvm.org/D41685