Update Makefile

change ldflag potision
Update Makefile
Update tensor_base.h

add one more guard macro for cxx11
Update tensor_gpu-inl.cuh

The function GetAlignStride is not inline, that will make multiple source file which include this file link error 'Redefine of function GetAlignStride'. Make this function inline will solve this.
Merge pull request #5 from reyoung/patch-1

Update tensor_gpu-inl.cuh
Resize When SampleUniform Size is Odd
Merge pull request #7 from reyoung/master

Fix issue #6, the patch needs some modifications,  will be done in next commit.
Update tensor_random.h

update patch by in #7 by @reyoung . buffer_.Resize is dangerous because it could potentially change the content of data
Update tensor_random.h

fix random
Update tensor_random.h
Merge pull request #9 from tqchen/master

merge master into dev