comparison src/gpu/hsail/vm/gpu_hsail.hpp @ 18856:e86659e1f813

added missing JNICALL to JNI functions Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author Doug Simon <doug.simon@oracle.com>
date Tue, 13 Jan 2015 13:06:21 +0100
parents 82e5b5ccdb0c
children
comparison
equal deleted inserted replaced
18855:82e5b5ccdb0c 18856:e86659e1f813
177 private: 177 private:
178 178
179 static JNINativeMethod HSAIL_methods[]; 179 static JNINativeMethod HSAIL_methods[];
180 180
181 // static native boolean initialize(); 181 // static native boolean initialize();
182 JNIEXPORT static jboolean initialize(JNIEnv* env, jclass); 182 JNIEXPORT static jboolean JNICALL initialize(JNIEnv* env, jclass);
183 183
184 // static native long generateKernel(byte[] targetCode, String name); 184 // static native long generateKernel(byte[] targetCode, String name);
185 JNIEXPORT static jlong generate_kernel(JNIEnv* env, jclass, jbyteArray code_handle, jstring name_handle); 185 JNIEXPORT static jlong JNICALL generate_kernel(JNIEnv* env, jclass, jbyteArray code_handle, jstring name_handle);
186 186
187 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args); 187 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args);
188 JNIEXPORT static jboolean execute_kernel_void_1d(JNIEnv* env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args, 188 JNIEXPORT static jboolean JNICALL execute_kernel_void_1d(JNIEnv* env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args,
189 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array); 189 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array);
190 190
191 static jboolean execute_kernel_void_1d_internal(address kernel, int dimX, jobject args, methodHandle& mh, nmethod* nm, 191 static jboolean execute_kernel_void_1d_internal(address kernel, int dimX, jobject args, methodHandle& mh, nmethod* nm,
192 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array, TRAPS); 192 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array, TRAPS);
193 193