Runtime check CUDA driver version to avoid unresolved green context symbols (#9021)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include <cuda.h>
|
||||
#include <cuda_runtime.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#define CUDA_RT(call) \
|
||||
do { \
|
||||
cudaError_t _status = (call); \
|
||||
|
||||
Reference in New Issue
Block a user