A GPU Parallel Algorithm for Non Parametric Tensor Learning