public void configure ( ) { if ( configurator != null && ! underConfiguration . get ( ) && underConfiguration . compareAndSet ( false , true ) ) { try { configurator . configure ( this ) ; } finally { underConfiguration . set ( false ) ; } } }
Called by the underlying Aparapi OpenCL platform upon device detection .