Moved no-as-needed flag to link rule.

Avoids link errors for tests linked with nvcc.


[ROCm/rccl commit: 03df4c7759]
This commit is contained in:
Nathan Luehr
2016-04-19 14:51:03 -07:00
parent bd7eec1f8d
commit 6d6120cd1e
2 changed files with 3 additions and 2 deletions
@@ -31,6 +31,7 @@
#define SRC_TEST_UTILITIES_H_
#include <curand.h>
#include <string>
#define CUDACHECK(cmd) do { \
cudaError_t e = cmd; \