Skip to content

Commit 9e0dbe8

Browse files
authored
Merge pull request #18 from xianyi/develop
rebase
2 parents efa72a6 + 52f99d3 commit 9e0dbe8

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ environment:
3131
matrix:
3232
- COMPILER: clang-cl
3333
WITH_FORTRAN: ON
34-
USE_OPENMP: ON
3534
- COMPILER: clang-cl
3635
DYNAMIC_ARCH: ON
3736
WITH_FORTRAN: OFF

driver/others/dynamic_power.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ char *gotoblas_corename(void) {
4040
return corename[0];
4141
}
4242

43-
#ifdef C_PGI
43+
#if defined(__clang__)
44+
static int __builtin_cpu_supports(char* arg)
45+
{
46+
return 0;
47+
}
48+
#endif
49+
50+
#if defined(C_PGI) || defined(__clang__)
4451
/*
4552
* NV HPC compilers do not yet implement __builtin_cpu_is().
4653
* Fake a version here for use in the CPU detection code below.

getarch_2nd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#else
55
#include "config_kernel.h"
66
#endif
7-
#include "param.h"
7+
#include "common.h"
88

99
int main(int argc, char **argv) {
1010

param.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7272
#ifndef PARAM_H
7373
#define PARAM_H
7474

75-
#include "common.h"
76-
7775
#define SBGEMM_DEFAULT_UNROLL_N 4
7876
#define SBGEMM_DEFAULT_UNROLL_M 8
7977
#define SBGEMM_DEFAULT_UNROLL_MN 32

0 commit comments

Comments
 (0)