We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590e9d4 commit 0281c22Copy full SHA for 0281c22
configure
@@ -1030,13 +1030,15 @@ test_nvcc(){
1030
log test_nvcc "$@"
1031
cat > $TMPCU
1032
log_file $TMPCU
1033
- test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $TMPO) $TMPCU
+ tmpcu_=$TMPCU
1034
+ tmpo_=$TMPO
1035
+ [ -x "$(command -v cygpath)" ] && tmpcu_=$(cygpath -m $tmpcu_) && tmpo_=$(cygpath -m $tmpo_)
1036
+ test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $tmpo_) $tmpcu_
1037
}
1038
1039
check_nvcc() {
1040
log check_nvcc "$@"
- disable cuda_nvcc
- test_nvcc <<EOF && enable cuda_nvcc
1041
+ test_nvcc <<EOF
1042
extern "C" {
1043
__global__ void hello(unsigned char *data) {}
1044
0 commit comments