From a2f7a3aed3eccb018dda989b5390371d6c0d6784 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Fri, 16 Sep 2011 19:21:57 -0400 Subject: Add a srcdir attribute to the chroma.cuda module. This consolidates the calculation of the path to the CUDA source code in one place. --- test/test_sample_cdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_sample_cdf.py') 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() -- cgit