mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-06-06 00:04:43 +00:00
15 lines
316 B
Plaintext
15 lines
316 B
Plaintext
|
|
#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;
|
|
}
|