Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
27
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Merge requests
!82
Cleanup and fix py-torch concretization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cleanup and fix py-torch concretization
emuller/ebrains-spack-builds:fix_py-torch
into
master
Overview
4
Commits
3
Pipelines
0
Changes
7
Merged
Eric Müller
requested to merge
emuller/ebrains-spack-builds:fix_py-torch
into
master
2 years ago
Overview
4
Commits
3
Pipelines
0
Changes
7
Expand
small cleanup to avoid having to specify the compiler per "spec line"
introduce "packages" section in env file
also move python version constraint there…
fix py-torch package (forks into local packages/ folder)
fix py-torch concretization
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d9e3bc06
3 commits,
2 years ago
7 files
+
684
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
packages/py-torch/cusparseGetErrorString.patch
0 → 100644
+
53
−
0
Options
diff --git a/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu b/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu
index 1cee04c200..f46003d9a9 100644
--- a/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu
+++ b/aten/src/ATen/native/sparse/cuda/SparseCUDABlas.cu
@@ -10,48 +10,6 @@
namespace at { namespace native { namespace sparse { namespace cuda {
-std::string cusparseGetErrorString(cusparseStatus_t status) {
- switch(status)
- {
- case CUSPARSE_STATUS_SUCCESS:
- return "success";
-
- case CUSPARSE_STATUS_NOT_INITIALIZED:
- return "library not initialized";
-
- case CUSPARSE_STATUS_ALLOC_FAILED:
- return "resource allocation failed";
-
- case CUSPARSE_STATUS_INVALID_VALUE:
- return "an invalid numeric value was used as an argument";
-
- case CUSPARSE_STATUS_ARCH_MISMATCH:
- return "an absent device architectural feature is required";
-
- case CUSPARSE_STATUS_MAPPING_ERROR:
- return "an access to GPU memory space failed";
-
- case CUSPARSE_STATUS_EXECUTION_FAILED:
- return "the GPU program failed to execute";
-
- case CUSPARSE_STATUS_INTERNAL_ERROR:
- return "an internal operation failed";
-
- case CUSPARSE_STATUS_MATRIX_TYPE_NOT_SUPPORTED:
- return "the matrix type is not supported by this function";
-
- case CUSPARSE_STATUS_ZERO_PIVOT:
- return "an entry of the matrix is either structural zero or numerical zero (singular block)";
-
- default:
- {
- std::ostringstream oss;
- oss << "unknown error " << static_cast<int64_t>(status);
- return oss.str();
- }
- }
-}
-
inline void CUSPARSE_CHECK(cusparseStatus_t status)
{
if (status != CUSPARSE_STATUS_SUCCESS) {