diff options
author | John Langford <jl@humpty.(none)> | 2011-01-22 01:56:11 +0300 |
---|---|---|
committer | John Langford <jl@humpty.(none)> | 2011-01-22 01:56:11 +0300 |
commit | 762169b30d9497de506a0490874c87f7664cf7eb (patch) | |
tree | 2d34e38465e3d15ad0f06523fefd3c8c7b567bcd /parse_regressor.cc | |
parent | ebf5bcdfce391bc35a558b63a8d5572ddc008980 (diff) |
reduced CG memory usage by 3/8
Diffstat (limited to 'parse_regressor.cc')
-rw-r--r-- | parse_regressor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse_regressor.cc b/parse_regressor.cc index bbeaba9d..035b608b 100644 --- a/parse_regressor.cc +++ b/parse_regressor.cc @@ -25,6 +25,7 @@ void initialize_regressor(regressor &r) r.weight_vectors = (weight **)malloc(num_threads * sizeof(weight*)); for (size_t i = 0; i < num_threads; i++) { + cout << "global.stride = " << global.stride << endl; r.weight_vectors[i] = (weight *)calloc(global.stride*length/num_threads, sizeof(weight)); if (r.weight_vectors[i] == NULL) { |