Loading src/test_tp.cu +25 −23 Original line number Diff line number Diff line Loading @@ -620,7 +620,8 @@ int main(int argc, char **argv) { //#ifndef DBG_TILE #ifdef SAVE_CLT const char *ports_clt_file[] = {// never referenced // never referenced const char *ports_clt_file[] = { CLT_BASE_PATH "aux_chn0.clt", CLT_BASE_PATH "aux_chn1.clt", CLT_BASE_PATH "aux_chn2.clt", Loading Loading @@ -777,7 +778,8 @@ int main(int argc, char **argv) { int task_size = get_task_size(num_cams); // sizeof(struct tp_task)/sizeof(float) - 6 * (NUM_CAMS - num_cams); // FIXME: update to use new correlations and num_cams float port_offsets4[4][2] = {// used only in textures to scale differences float port_offsets4[4][2] = { // used only in textures to scale differences {-0.5, -0.5}, {0.5, -0.5}, {-0.5, 0.5}, Loading Loading @@ -1598,7 +1600,7 @@ int main(int argc, char **argv) { #else checkCudaErrors(cudaDeviceSynchronize()); // accumulate_coreleations fo here-ish // accumulate_coreleations here-ish corr2D_normalize<<<1, 1>>>( num_corrs, // tp_task_size, // int num_corr_tiles, // number of correlation tiles to process Loading Loading
src/test_tp.cu +25 −23 Original line number Diff line number Diff line Loading @@ -620,7 +620,8 @@ int main(int argc, char **argv) { //#ifndef DBG_TILE #ifdef SAVE_CLT const char *ports_clt_file[] = {// never referenced // never referenced const char *ports_clt_file[] = { CLT_BASE_PATH "aux_chn0.clt", CLT_BASE_PATH "aux_chn1.clt", CLT_BASE_PATH "aux_chn2.clt", Loading Loading @@ -777,7 +778,8 @@ int main(int argc, char **argv) { int task_size = get_task_size(num_cams); // sizeof(struct tp_task)/sizeof(float) - 6 * (NUM_CAMS - num_cams); // FIXME: update to use new correlations and num_cams float port_offsets4[4][2] = {// used only in textures to scale differences float port_offsets4[4][2] = { // used only in textures to scale differences {-0.5, -0.5}, {0.5, -0.5}, {-0.5, 0.5}, Loading Loading @@ -1598,7 +1600,7 @@ int main(int argc, char **argv) { #else checkCudaErrors(cudaDeviceSynchronize()); // accumulate_coreleations fo here-ish // accumulate_coreleations here-ish corr2D_normalize<<<1, 1>>>( num_corrs, // tp_task_size, // int num_corr_tiles, // number of correlation tiles to process Loading