-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Sparse CUDA: rename files *.cu -> *.cpp #63894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. [ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 76f3ee0 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel [ghstack-poisoned]
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. ghstack-source-id: 9c933ff Pull Request resolved: pytorch#63894
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel [ghstack-poisoned]
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. ghstack-source-id: 92647d7 Pull Request resolved: pytorch#63894
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel [ghstack-poisoned]
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel [ghstack-poisoned]
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. ghstack-source-id: 36ab499 Pull Request resolved: pytorch#63894
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the comment, will merge after.
|
@cpuhrsch has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
cuda11.1 test failures are legit. https://app.circleci.com/pipelines/github/pytorch/pytorch/370358/workflows/e71238b3-183a-41c4-ac17-f233abcff26c/jobs/15625496 You'll need to add a decorator that restricts running those tests to older cuda versions. |
|
Wait, but it's not a question of decorators, we need some alternative csrmm2 implementation for cuda 11 (or restructure other functions so that they don't call csrmm2)? |
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel Differential Revision: [D30548771](https://our.internmc.facebook.com/intern/diff/D30548771) [ghstack-poisoned]
|
|
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel Differential Revision: [D30548771](https://our.internmc.facebook.com/intern/diff/D30548771) [ghstack-poisoned]
|
@cpuhrsch has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This PR introduces a few code structure changes. There is no need to use .cu extension for pure c++ code without cuda. Moved `s_addmm_out_csr_sparse_dense_cuda_worker` to a separate cpp file from cu file. ghstack-source-id: db71374 Pull Request resolved: pytorch#63894
Stack from ghstack:
torch.addwith all inputs sparse #63948 Sparse CSR CUDA: addtorch.addwith all inputs sparsetorch.addmmwith all inputs sparse #63511 Sparse CSR CUDA: addtorch.addmmwith all inputs sparsetriangular_solve_out#62180 Sparse CSR CPU: addtriangular_solve_outtriangular_solve_out#61858 Sparse CSR CUDA: addtriangular_solve_outaddmv_out#61536 Sparse CSR CPU: addaddmv_outaddmv_out#61407 Sparse CSR CUDA: addaddmv_outThis PR introduces a few code structure changes. There is no need to use
.cu extension for pure c++ code without cuda. Moved
s_addmm_out_csr_sparse_dense_cuda_workerto a separate cpp file fromcu file.
cc @nikitaved @pearu @cpuhrsch @IvanYashchuk @ngimel
Differential Revision: D30548771