mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-05-03 13:02:36 +00:00
Make verifiable a DSO and add NAME_SUFFIX support
Build option DSO=1 generates libverifiable.so which can be used to reduce the combined binary size. Build option NAME_SUFFIX can be used to a add suffix to all generated binaries. e.g. NAME_SUFFIX=_mpi Added new make target: clean_intermediates
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
#include <cuda_runtime.h>
|
||||
#include <iostream>
|
||||
|
||||
#define NCCL_VERIFIABLE_SELF_TEST 1
|
||||
#include "verifiable.h"
|
||||
|
||||
int main(int arg_n, char **args) {
|
||||
std::cerr<<"You are hoping to see no output beyond this line."<<std::endl;
|
||||
cudaSetDevice(0);
|
||||
ncclVerifiableLaunchSelfTest();
|
||||
cudaDeviceSynchronize();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user