Find file History
Latest commit ccab3b9 Jan 7, 2017 @sxjscience sxjscience committed on GitHub Add post kernel check + add more known gpu archs + fix warning (#196)
* Add post kernel check

* Revise

* Revise message

* Add more known gpu archs

* Add 52

* Fix warning
Failed to load latest commit information. standalone doc Jan 26, 2015

Makefile Configuration of MShadow

MShadow is a template library, you only need to include mshadow to use it. So this folder is not used to build mshadow library file.

However, mshadow is a flexible library that allows you to compile with different configurations. For example, you can compile mshadow without CUDA, and specify your own choice of BLAS. There are different compile flags that you might need to set in your own configuration. This folder provides a Makefile script to help you do that.


  • Set the configurations via variables in your Makefile, see example in ../guide/
  • include in your Makefile
  • will give you compiler variables that you can include when compiling
    • Add MSHADOW_CFLAGS to the compile flags
    • Add MSHADOW_LDFLAGS to the linker flags
    • Add MSHADOW_NVCCFLAGS to the nvcc compile flags
  • For example Makefile, see ../guide/Makefile