Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
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
solverstack
Chameleon
Commits
0bce5ca7
Commit
0bce5ca7
authored
1 year ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
cblas: Try to protect when multiple cblas may be included
parent
3cb7d7a2
No related branches found
No related tags found
1 merge request
!468
Many minor hotfix issued from the mixed precision branch
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
coreblas/include/coreblas/cblas_wrapper.h
+13
-0
13 additions, 0 deletions
coreblas/include/coreblas/cblas_wrapper.h
with
13 additions
and
0 deletions
coreblas/include/coreblas/cblas_wrapper.h
+
13
−
0
View file @
0bce5ca7
...
@@ -28,15 +28,28 @@
...
@@ -28,15 +28,28 @@
#ifndef CBLAS_SADDR
#ifndef CBLAS_SADDR
#define CBLAS_SADDR( _val_ ) &(_val_)
#define CBLAS_SADDR( _val_ ) &(_val_)
#endif
#endif
#ifndef CBLAS_H
/* cblas may have been included by another mean */
#include
"coreblas/cblas.h"
#include
"coreblas/cblas.h"
#endif
/**
/**
* CBlas enum
* CBlas enum
*/
*/
#ifndef CBLAS_ORDER
#define CBLAS_ORDER enum CBLAS_ORDER
#define CBLAS_ORDER enum CBLAS_ORDER
#endif
#ifndef CBLAS_TRANSPOSE
#define CBLAS_TRANSPOSE enum CBLAS_TRANSPOSE
#define CBLAS_TRANSPOSE enum CBLAS_TRANSPOSE
#endif
#ifndef CBLAS_UPLO
#define CBLAS_UPLO enum CBLAS_UPLO
#define CBLAS_UPLO enum CBLAS_UPLO
#endif
#ifndef CBLAS_DIAG
#define CBLAS_DIAG enum CBLAS_DIAG
#define CBLAS_DIAG enum CBLAS_DIAG
#endif
#ifndef CBLAS_SIDE
#define CBLAS_SIDE enum CBLAS_SIDE
#define CBLAS_SIDE enum CBLAS_SIDE
#endif
#endif
/* _cblas_wrapper_h_ */
#endif
/* _cblas_wrapper_h_ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment