public static String getDTypeForName(DataBuffer.Type allocationMode) {
        switch (allocationMode) {
            case DOUBLE:
                return "double";
            case FLOAT:
                return "float";
            case INT:
                return "int";
            case HALF:
                return "half";
            default:
                return "float";
        }
    }
public static String getDTypeForName(DataBuffer.Type allocationMode) {
        switch (allocationMode) {
            case DOUBLE:
                return "double";
            case FLOAT:
                return "float";
            case INT:
                return "int";
            case HALF:
                return "half";
            default:
                return "float";
        }
    }
public static String getDTypeForName ( DataBuffer . Type allocationMode ) { switch ( allocationMode ) { case DOUBLE : return "double" ; case FLOAT : return "float" ; case INT : return "int" ; case HALF : return "half" ; default : return "float" ; } }
Gets the name of the alocation mode
@param allocationMode
@return
Gets the name of the alocation mode