comparison src/gpu/hsail/vm/gpu_hsail.hpp @ 16795:a29e6e7b7a86

Replace hsail donor threads with hsail tlabs
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 12 Aug 2014 16:30:17 -0700
parents d5c4bb0039d8
children 82e5b5ccdb0c
comparison
equal deleted inserted replaced
16794:74c02c90a3f9 16795:a29e6e7b7a86
183 // static native long generateKernel(byte[] targetCode, String name); 183 // static native long generateKernel(byte[] targetCode, String name);
184 JNIEXPORT static jlong generate_kernel(JNIEnv* env, jclass, jbyteArray code_handle, jstring name_handle); 184 JNIEXPORT static jlong generate_kernel(JNIEnv* env, jclass, jbyteArray code_handle, jstring name_handle);
185 185
186 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args); 186 // static native boolean executeKernel0(HotSpotInstalledCode kernel, int jobSize, Object[] args);
187 JNIEXPORT static jboolean execute_kernel_void_1d(JNIEnv* env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args, 187 JNIEXPORT static jboolean execute_kernel_void_1d(JNIEnv* env, jclass, jobject hotspotInstalledCode, jint dimX, jobject args,
188 jobject donorThreads, int allocBytesPerWorkitem, jobject oop_map_array); 188 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array);
189 189
190 static jboolean execute_kernel_void_1d_internal(address kernel, int dimX, jobject args, methodHandle& mh, nmethod* nm, 190 static jboolean execute_kernel_void_1d_internal(address kernel, int dimX, jobject args, methodHandle& mh, nmethod* nm,
191 jobject donorThreads, int allocBytesPerWorkitem, jobject oop_map_array, TRAPS); 191 jint num_tlabs, int allocBytesPerWorkitem, jobject oop_map_array, TRAPS);
192 192
193 static GraalEnv::CodeInstallResult install_code(Handle& compiled_code, CodeBlob*& cb, Handle installed_code, Handle triggered_deoptimizations); 193 static GraalEnv::CodeInstallResult install_code(Handle& compiled_code, CodeBlob*& cb, Handle installed_code, Handle triggered_deoptimizations);
194 194
195 public: 195 public:
196 196