• Markus Cozowicz's avatar
    Added additional APIs to better support JNI on Spark (#2032) · beeb6e0f
    Markus Cozowicz authored
    * added API changes required for JNI performance optimizations (e.g. predict is 3-4x faster)
    
    * removed commented variables
    
    * removed commented header
    
    * renamed method to make it obvious it is created for Spark
    
    * fixed comment alignment
    
    * replaced GetPrimitiveArrayCritical with GetIntArrayElements for training. fixed dead-lock on databricks
    beeb6e0f
c_api.cpp 62.2 KB