diff options
author | Stan Seibert <stan@mtrr.org> | 2011-09-16 19:21:57 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-09-16 19:21:57 -0400 |
commit | a2f7a3aed3eccb018dda989b5390371d6c0d6784 (patch) | |
tree | 0e05359ad9fde4aae38e730bd0d42b0483bf996b /test/test_sample_cdf.py | |
parent | 9d792d1086f96fba91b9de6dddd73615c26652fd (diff) | |
download | chroma-a2f7a3aed3eccb018dda989b5390371d6c0d6784.tar.gz chroma-a2f7a3aed3eccb018dda989b5390371d6c0d6784.tar.bz2 chroma-a2f7a3aed3eccb018dda989b5390371d6c0d6784.zip |
Add a srcdir attribute to the chroma.cuda module. This consolidates the calculation of the path to the CUDA source code in one place.
Diffstat (limited to 'test/test_sample_cdf.py')
-rw-r--r-- | test/test_sample_cdf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sample_cdf.py b/test/test_sample_cdf.py index 2baa2ac..d12efa4 100644 --- a/test/test_sample_cdf.py +++ b/test/test_sample_cdf.py @@ -7,7 +7,7 @@ import ROOT import os current_directory = os.path.split(os.path.realpath(__file__))[0] -source_directory = current_directory + '/../src' +from chroma.cuda import srcdir as source_directory source = open(current_directory + '/test_sample_cdf.cu').read() |