added swap-kernel for all precisions