diff options
| author | Tor Aamodt <[email protected]> | 2012-07-27 08:48:33 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:53 -0700 |
| commit | f73d71935122aaef2e32e8c34f1004864d05c934 (patch) | |
| tree | aaeba1ba80fb63cafe01a2930310571ef1c337ee /version_detection.mk | |
| parent | f9eaa6b1c53586f277a51f29089ff96732c9a899 (diff) | |
also print out build number (perforce change list)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13556]
Diffstat (limited to 'version_detection.mk')
| -rw-r--r-- | version_detection.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/version_detection.mk b/version_detection.mk index 3824866..eac96e0 100644 --- a/version_detection.mk +++ b/version_detection.mk @@ -26,6 +26,9 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Detect GPGPU-Sim Version +GPGPUSIM_VERSION=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Version/ {print $$8}' ) +GPGPUSIM_BUILD=$(shell cat $(GPGPUSIM_ROOT)/version | awk '/Change/ {print $$6}' ) # Detect CUDA Runtime Version CUDA_VERSION_STRING:=$(shell $(CUDA_INSTALL_PATH)/bin/nvcc --version | awk '/release/ {print $$5;}' | sed 's/,//') |
