You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.rule 4.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. #
  2. # Beginning of user configuration
  3. #
  4. # This library's version
  5. VERSION = 0.2.6
  6. # If you set the suffix, the library name will be libopenblas_$(LIBNAMESUFFIX).a
  7. # and libopenblas_$(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library
  8. # is libopenblas_$(LIBNAMESUFFIX).so.0.
  9. # LIBNAMESUFFIX = omp
  10. # You can specify the target architecture, otherwise it's
  11. # automatically detected.
  12. # TARGET = PENRYN
  13. # If you want to support multiple architecture in one binary
  14. # DYNAMIC_ARCH = 1
  15. # C compiler including binary type(32bit / 64bit). Default is gcc.
  16. # Don't use Intel Compiler or PGI, it won't generate right codes as I expect.
  17. # CC = gcc
  18. # Fortran compiler. Default is g77.
  19. # FC = gfortran
  20. # Even you can specify cross compiler. Meanwhile, please set HOSTCC.
  21. # CC = x86_64-w64-mingw32-gcc
  22. # FC = x86_64-w64-mingw32-gfortran
  23. # If you use the cross compiler, please set this host compiler.
  24. # HOSTCC = gcc
  25. # If you need 32bit binary, define BINARY=32, otherwise define BINARY=64
  26. # BINARY=64
  27. # About threaded BLAS. It will be automatically detected if you don't
  28. # specify it.
  29. # For force setting for single threaded, specify USE_THREAD = 0
  30. # For force setting for multi threaded, specify USE_THREAD = 1
  31. # USE_THREAD = 0
  32. # If you're going to use this library with OpenMP, please comment it in.
  33. # USE_OPENMP = 1
  34. # You can define maximum number of threads. Basically it should be
  35. # less than actual number of cores. If you don't specify one, it's
  36. # automatically detected by the the script.
  37. # NUM_THREADS = 24
  38. # if you don't need generate the shared library, please comment it in.
  39. # NO_SHARED = 1
  40. # If you don't need CBLAS interface, please comment it in.
  41. # NO_CBLAS = 1
  42. # If you don't need LAPACK, please comment it in.
  43. # If you set NO_LAPACK=1, the library automatically sets NO_LAPACKE=1.
  44. # NO_LAPACK = 1
  45. # If you don't need LAPACKE (C Interface to LAPACK), please comment it in.
  46. # NO_LAPACKE = 1
  47. # If you want to use legacy threaded Level 3 implementation.
  48. # USE_SIMPLE_THREADED_LEVEL3 = 1
  49. # If you want to drive whole 64bit region by BLAS. Not all Fortran
  50. # compiler supports this. It's safe to keep comment it out if you
  51. # are not sure(equivalent to "-i8" option).
  52. # INTERFACE64 = 1
  53. # Unfortunately most of kernel won't give us high quality buffer.
  54. # BLAS tries to find the best region before entering main function,
  55. # but it will consume time. If you don't like it, you can disable one.
  56. # NO_WARMUP = 1
  57. # If you want to disable CPU/Memory affinity on Linux.
  58. # NO_AFFINITY = 1
  59. # Don't use AVX kernel on Sandy Bridge. It is compatible with old compilers
  60. # and OS. However, the performance is low.
  61. # NO_AVX = 1
  62. # Don't use parallel make.
  63. # NO_PARALLEL_MAKE = 1
  64. # If you would like to know minute performance report of GotoBLAS.
  65. # FUNCTION_PROFILE = 1
  66. # Support for IEEE quad precision(it's *real* REAL*16)( under testing)
  67. # QUAD_PRECISION = 1
  68. # Theads are still working for a while after finishing BLAS operation
  69. # to reduce thread activate/deactivate overhead. You can determine
  70. # time out to improve performance. This number should be from 4 to 30
  71. # which corresponds to (1 << n) cycles. For example, if you set to 26,
  72. # thread will be running for (1 << 26) cycles(about 25ms on 3.0GHz
  73. # system). Also you can control this mumber by THREAD_TIMEOUT
  74. # CCOMMON_OPT += -DTHREAD_TIMEOUT=26
  75. # Using special device driver for mapping physically contigous memory
  76. # to the user space. If bigphysarea is enabled, it will use it.
  77. # DEVICEDRIVER_ALLOCATION = 1
  78. # If you need to synchronize FP CSR between threads (for x86/x86_64 only).
  79. # CONSISTENT_FPCSR = 1
  80. # If any gemm arguement m, n or k is less or equal this threshold, gemm will be execute
  81. # with single thread. You can use this flag to avoid the overhead of multi-threading
  82. # in small matrix sizes. The default value is 50.
  83. # GEMM_MULTITHREAD_THRESHOLD = 50
  84. # If you need santy check by comparing reference BLAS. It'll be very
  85. # slow (Not implemented yet).
  86. # SANITY_CHECK = 1
  87. # Run testcases in utest/ . When you enable UTEST_CHECK, it would enable
  88. # SANITY_CHECK to compare the result with reference BLAS.
  89. # UTEST_CHECK = 1
  90. # The installation directory.
  91. # PREFIX = /opt/OpenBLAS
  92. # Common Optimization Flag;
  93. # The default -O2 is enough.
  94. # COMMON_OPT = -O2
  95. # Profiling flags
  96. COMMON_PROF = -pg
  97. # Build Debug version
  98. # DEBUG = 1
  99. #
  100. # End of user configuration
  101. #