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
73a65e2f
Commit
73a65e2f
authored
7 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Silent the new warning on gemm3m
parent
e1c68e1a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!55
Fix #42 - HQR header installation
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
compute/CMakeLists.txt
+3
-1
3 additions, 1 deletion
compute/CMakeLists.txt
control/context.c
+6
-2
6 additions, 2 deletions
control/context.c
coreblas/compute/global.c
+8
-5
8 additions, 5 deletions
coreblas/compute/global.c
with
17 additions
and
8 deletions
compute/CMakeLists.txt
+
3
−
1
View file @
73a65e2f
...
@@ -296,7 +296,9 @@ elseif(CHAMELEON_SCHED_QUARK)
...
@@ -296,7 +296,9 @@ elseif(CHAMELEON_SCHED_QUARK)
list
(
INSERT CHAMELEON_DEP 0 -lchameleon_quark
)
list
(
INSERT CHAMELEON_DEP 0 -lchameleon_quark
)
endif
()
endif
()
if
(
NOT CHAMELEON_SIMULATION
)
if
(
NOT CHAMELEON_SIMULATION
)
target_link_libraries
(
chameleon coreblas
)
add_dependencies
(
chameleon
coreblas_include
)
target_link_libraries
(
chameleon coreblas
)
endif
()
endif
()
target_link_libraries
(
chameleon hqr
)
target_link_libraries
(
chameleon hqr
)
list
(
INSERT CHAMELEON_DEP 0 -lchameleon
)
list
(
INSERT CHAMELEON_DEP 0 -lchameleon
)
...
...
This diff is collapsed.
Click to expand it.
control/context.c
+
6
−
2
View file @
73a65e2f
...
@@ -43,6 +43,10 @@
...
@@ -43,6 +43,10 @@
#include
"control/context.h"
#include
"control/context.h"
#include
"chameleon/morse_runtime.h"
#include
"chameleon/morse_runtime.h"
#if !defined(CHAMELEON_SIMULATION)
#include
"coreblas.h"
#endif
/*******************************************************************************
/*******************************************************************************
* Global data
* Global data
**/
**/
...
@@ -163,7 +167,7 @@ int MORSE_Enable(MORSE_enum option)
...
@@ -163,7 +167,7 @@ int MORSE_Enable(MORSE_enum option)
morse
->
progress_enabled
=
MORSE_TRUE
;
morse
->
progress_enabled
=
MORSE_TRUE
;
break
;
break
;
case
MORSE_GEMM3M
:
case
MORSE_GEMM3M
:
#ifdef
CBLAS_HAS_ZGEMM3M
#if
def
ined(
CBLAS_HAS_ZGEMM3M
) && !defined(CHAMELEON_SIMULATION)
set_coreblas_gemm3m_enabled
(
1
);
set_coreblas_gemm3m_enabled
(
1
);
#else
#else
morse_error
(
"MORSE_Enable"
,
"cannot enable GEMM3M (not available in cblas)"
);
morse_error
(
"MORSE_Enable"
,
"cannot enable GEMM3M (not available in cblas)"
);
...
@@ -231,7 +235,7 @@ int MORSE_Disable(MORSE_enum option)
...
@@ -231,7 +235,7 @@ int MORSE_Disable(MORSE_enum option)
morse
->
progress_enabled
=
MORSE_FALSE
;
morse
->
progress_enabled
=
MORSE_FALSE
;
break
;
break
;
case
MORSE_GEMM3M
:
case
MORSE_GEMM3M
:
#if !defined(CHAMELEON_SIMULATION)
#if
defined(CBLAS_HAS_ZGEMM3M) &&
!defined(CHAMELEON_SIMULATION)
set_coreblas_gemm3m_enabled
(
0
);
set_coreblas_gemm3m_enabled
(
0
);
#endif
#endif
break
;
break
;
...
...
This diff is collapsed.
Click to expand it.
coreblas/compute/global.c
+
8
−
5
View file @
73a65e2f
...
@@ -23,13 +23,16 @@
...
@@ -23,13 +23,16 @@
*
*
**/
**/
static
int
coreblas_gemm3m_enabled
=
0
;
static
int
coreblas_gemm3m_enabled
=
0
;
void
set_coreblas_gemm3m_enabled
(
int
v
)
{
void
coreblas_gemm3m_enabled
=
v
;
set_coreblas_gemm3m_enabled
(
int
v
)
{
coreblas_gemm3m_enabled
=
v
;
}
}
int
get_coreblas_gemm3m_enabled
(
void
)
{
return
coreblas_gemm3m_enabled
;
int
get_coreblas_gemm3m_enabled
(
void
)
{
return
coreblas_gemm3m_enabled
;
}
}
/*******************************************************************************
/*******************************************************************************
...
...
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