Switch for webcl use