Added namespace tl::internal and GPU template matching.