Skip to content

Commit acad3ac

Browse files
committed
pip correction on gpu
1 parent 2e6bc7c commit acad3ac

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pycorr/tests/test_twopoint_counter.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ def test_gpu(mode='smu'):
742742
list_options.append({'autocorr': autocorr, 'los': los, 'n_individual_weights': 1, 'size': 0, 'dtype': dtype})
743743
list_options.append({'autocorr': autocorr, 'los': los, 'selection_attrs': {'rp': (0., 20.)}, 'n_individual_weights': 1, 'n_bitwise_weights': 2, 'twopoint_weights': twopoint_weights, 'dtype': dtype})
744744
list_options.append({'autocorr': autocorr, 'los': los, 'selection_attrs': {'theta': (0., 5.)}, 'n_individual_weights': 1, 'n_bitwise_weights': 2, 'twopoint_weights': twopoint_weights, 'dtype': dtype})
745+
list_options.append({'autocorr': autocorr, 'los': los, 'n_individual_weights': 1, 'n_bitwise_weights': 2, 'twopoint_weights': twopoint_weights, 'weight_attrs': {'normalization': 'counter'}, 'dtype': dtype})
745746

746747
for options in list_options:
747748
print(options)
@@ -1132,10 +1133,7 @@ def test_pip_counts2():
11321133

11331134
setup_logging()
11341135

1135-
test_twopoint_counter(mode='smu')
1136-
exit()
1137-
#test_pip_counts2()
1138-
#test_gpu()
1136+
test_gpu()
11391137
test_mu1()
11401138

11411139
for mode in ['theta', 's', 'smu', 'rppi', 'rp']:
@@ -1147,3 +1145,4 @@ def test_pip_counts2():
11471145
test_rebin()
11481146
test_pip_normalization()
11491147
test_pip_counts()
1148+
#test_pip_counts2()

0 commit comments

Comments
 (0)