update amd_kernel test program to use platform info structure instead of using device info structure