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 3.0 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #
  2. # Beginning of user configuration
  3. #
  4. # This library's version
  5. VERSION = 1.13
  6. # You can specify the target architecture, otherwise it's
  7. # automatically detected.
  8. # TARGET = PENRYN
  9. # If you want to support multiple architecture in one binary
  10. # DYNAMIC_ARCH = 1
  11. # C compiler including binary type(32bit / 64bit). Default is gcc.
  12. # Don't use Intel Compiler or PGI, it won't generate right codes as I expect.
  13. # CC = gcc
  14. # Fortran compiler. Default is g77.
  15. # FC = gfortran
  16. # Even you can specify cross compiler
  17. # CC = x86_64-w64-mingw32-gcc
  18. # FC = x86_64-w64-mingw32-gfortran
  19. # If you need 32bit binary, define BINARY=32, otherwise define BINARY=64
  20. # BINARY=64
  21. # About threaded BLAS. It will be automatically detected if you don't
  22. # specify it.
  23. # For force setting for single threaded, specify USE_THREAD = 0
  24. # For force setting for multi threaded, specify USE_THREAD = 1
  25. # USE_THREAD = 0
  26. # If you're going to use this library with OpenMP, please comment it in.
  27. # USE_OPENMP = 1
  28. # You can define maximum number of threads. Basically it should be
  29. # less than actual number of cores. If you don't specify one, it's
  30. # automatically detected by the the script.
  31. # NUM_THREADS = 24
  32. # If you don't need CBLAS interface, please comment it in.
  33. # NO_CBLAS = 1
  34. # If you want to use legacy threaded Level 3 implementation.
  35. # USE_SIMPLE_THREADED_LEVEL3 = 1
  36. # If you want to drive whole 64bit region by BLAS. Not all Fortran
  37. # compiler supports this. It's safe to keep comment it out if you
  38. # are not sure(equivalent to "-i8" option).
  39. # INTERFACE64 = 1
  40. # Unfortunately most of kernel won't give us high quality buffer.
  41. # BLAS tries to find the best region before entering main function,
  42. # but it will consume time. If you don't like it, you can disable one.
  43. # NO_WARMUP = 1
  44. # If you want to disable CPU/Memory affinity on Linux.
  45. # NO_AFFINITY = 1
  46. # If you would like to know minute performance report of GotoBLAS.
  47. # FUNCTION_PROFILE = 1
  48. # Support for IEEE quad precision(it's *real* REAL*16)( under testing)
  49. # QUAD_PRECISION = 1
  50. # Theads are still working for a while after finishing BLAS operation
  51. # to reduce thread activate/deactivate overhead. You can determine
  52. # time out to improve performance. This number should be from 4 to 30
  53. # which corresponds to (1 << n) cycles. For example, if you set to 26,
  54. # thread will be running for (1 << 26) cycles(about 25ms on 3.0GHz
  55. # system). Also you can control this mumber by GOTO_THREAD_TIMEOUT
  56. # CCOMMON_OPT += -DTHREAD_TIMEOUT=26
  57. # Using special device driver for mapping physically contigous memory
  58. # to the user space. If bigphysarea is enabled, it will use it.
  59. # DEVICEDRIVER_ALLOCATION = 1
  60. # If you need to synchronize FP CSR between threads (for x86/x86_64 only).
  61. # CONSISTENT_FPCSR = 1
  62. # If you need santy check by comparing reference BLAS. It'll be very
  63. # slow (Not implemented yet).
  64. # SANITY_CHECK = 1
  65. # Common Optimization Flag; -O2 is enough.
  66. COMMON_OPT += -O2
  67. # Profiling flags
  68. COMMON_PROF = -pg
  69. #
  70. # End of user configuration
  71. #

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

Contributors (1)