Skip to content

Fix cuda 7.5 compile error on cublas#9885

Merged
kexinzhao merged 1 commit into
PaddlePaddle:developfrom
kexinzhao:fix_cuda_7.5
Apr 12, 2018
Merged

Fix cuda 7.5 compile error on cublas#9885
kexinzhao merged 1 commit into
PaddlePaddle:developfrom
kexinzhao:fix_cuda_7.5

Conversation

@kexinzhao
Copy link
Copy Markdown
Contributor

fix #9862

context.cublas_handle(), cuTransB, cuTransA, N, M, K, &h_alpha, h_B, ldb,
strideB, h_A, lda, strideA, &h_beta, h_C, ldc, strideC, batchCount));
#else
PADDLE_ENFORCE(false, "HgemmStridedBatched is not supported on cuda <= 7.5");
Copy link
Copy Markdown
Contributor

@helinwang helinwang Apr 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does 8000 mean CUDA 7.5?

Copy link
Copy Markdown
Contributor

@helinwang helinwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kexinzhao kexinzhao merged commit 617e790 into PaddlePaddle:develop Apr 12, 2018
@kexinzhao kexinzhao deleted the fix_cuda_7.5 branch April 12, 2018 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiling error with CUDA 7.5 follow up

2 participants