cutt icon indicating copy to clipboard operation
cutt copied to clipboard

I have been running the code with valgrind and found the following error

Open acf986 opened this issue 5 years ago • 0 comments

==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41E27D: computePos0(int, int const*, int const*, int const*, int const*, int*, int*) (cuttGpuModel.cpp:249) ==21682== by 0x41E429: computePos0(int, TensorConvInOut const*, int, int*, int*) (cuttGpuModel.cpp:294) ==21682== by 0x40B9C1: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1126) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102) ==21682== ==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41E2BD: computePos0(int, int const*, int const*, int const*, int const*, int*, int*) (cuttGpuModel.cpp:256) ==21682== by 0x41E429: computePos0(int, TensorConvInOut const*, int, int*, int*) (cuttGpuModel.cpp:294) ==21682== by 0x40B9C1: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1126) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102) ==21682== ==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41E27D: computePos0(int, int const*, int const*, int const*, int const*, int*, int*) (cuttGpuModel.cpp:249) ==21682== by 0x41E429: computePos0(int, TensorConvInOut const*, int, int*, int*) (cuttGpuModel.cpp:294) ==21682== by 0x40BA5F: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1154) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102) ==21682== ==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41E2BD: computePos0(int, int const*, int const*, int const*, int const*, int*, int*) (cuttGpuModel.cpp:256) ==21682== by 0x41E429: computePos0(int, TensorConvInOut const*, int, int*, int*) (cuttGpuModel.cpp:294) ==21682== by 0x40BA5F: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1154) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102) ==21682== ==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41FCF7: countPackedShTransactions0(int, int, int, int, TensorConv const*, int, int&, int&, int&, int&) (cuttGpuModel.cpp:513) ==21682== by 0x40C29F: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1352) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102) ==21682== ==21682== Conditional jump or move depends on uninitialised value(s) ==21682== at 0x41FCF7: countPackedShTransactions0(int, int, int, int, TensorConv const*, int, int&, int&, int&, int&) (cuttGpuModel.cpp:513) ==21682== by 0x40C346: cuttPlan_t::countCycles(cudaDeviceProp&, int) (cuttplan.cpp:1384) ==21682== by 0x409A30: cuttPlan(unsigned int*, int, int*, int*, unsigned long, CUstream_st*) (cutt.cpp:148) ==21682== by 0x4046D3: bool test_tensor(std::vector<int, std::allocator >&, std::vector<int, std::allocator >&) (cutt_test.cpp:465) ==21682== by 0x4031DE: test1() (cutt_test.cpp:151) ==21682== by 0x401D72: main (cutt_test.cpp:102)

acf986 avatar Jun 28 '19 08:06 acf986