fixed for operator2 with nvptx target