# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case ProcessingUnit.cpu:
            	return 0;
          	case ProcessingUnit.gpu:
            	return 1;
          	case ProcessingUnit.opencl:
            	return 2;
          	case ProcessingUnit.cuda:
            	return 3;
          	case ProcessingUnit.metal:
            	return 4;
          	case ProcessingUnit.vulkan:
            	return 5;
    	}
      	}