[Fix] Get memory size for memcpy

GPU memcpy size should be array length multiplied with element type size.
Fix comments that demo the usage of the GPURuntime library
Seperate freeDeviceMemory from cleanupGPUResource

Update GPURuntime library so that we can free multiple device arrays
and parameters.
[Fix] Generate correct loads for multiple arrays in kernel