- compute_35 or higher cards. I am using Pascal (compute_61)
- set(CUDA_SEPARABLE_COMPILATION TRUE)
- list(APPEND CUDA_NVCC_FLAGS -gencode arch=compute_61,code=sm_51;)
- target_link_libraries(yourCudaLib ${CUDA_cudadevrt_LIBRARY}
| package main | |
| import ( | |
| "bytes" | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" |