All testing routings, show how to use global variables to define the shared memory.
Move all test cases to TestConv_kernel.py, and add weight_acts_mc_mf to compute derivatives w.r.t weights.