Marked the cast functions as EIGEN_DEVICE_FUNC to ensure that we can run casting on GPUs
Marked the cast functions as EIGEN_DEVICE_FUNC to ensure that we can run casting on GPUs

pasuka/eigen,TSC21/Eigen,TSC21/Eigen,ROCmSoftwarePlatform/hipeigen,ROCmSoftwarePlatform/hipeigen,ritsu1228/eigen,ritsu1228/eigen,ritsu1228/eigen,pasuka/eigen,ritsu1228/eigen,ROCmSoftwarePlatform/hipeigen,pasuka/eigen,TSC21/Eigen,pasuka/eigen,pasuka/eigen,TSC21/Eigen,ritsu1228/eigen,ROCmSoftwarePlatform/hipeigen