hacked support for DEVIDX in the OclWrapper constructor used in the Fortran wrapper. Need to rewrite those constructors!