Language and compiler to easily program image processing graphs on parallel compute devices