comparison src/gpu/hsail/vm/vmStructs_hsail.hpp @ 16076:06eedda53e14

HSAIL: add support to allocate new TLAB from GPU Contributed-by: Tom Deneau <tom.deneau@amd.com>
author Doug Simon <doug.simon@oracle.com>
date Tue, 10 Jun 2014 22:36:26 +0200
parents 55be15d24e45
children a29e6e7b7a86
comparison
equal deleted inserted replaced
16074:b6ab7e7fa0a5 16076:06eedda53e14
39 nonstatic_field(HSAILFrame, _num_stack_slots, jshort) \ 39 nonstatic_field(HSAILFrame, _num_stack_slots, jshort) \
40 \ 40 \
41 nonstatic_field(Hsail::HSAILKernelDeoptimization, _workitemid, jint) \ 41 nonstatic_field(Hsail::HSAILKernelDeoptimization, _workitemid, jint) \
42 nonstatic_field(Hsail::HSAILKernelDeoptimization, _actionAndReason, jint) \ 42 nonstatic_field(Hsail::HSAILKernelDeoptimization, _actionAndReason, jint) \
43 \ 43 \
44 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _notice_safepoints, jint*) \ 44 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _notice_safepoints, jint*) \
45 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _deopt_occurred, jint) \ 45 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _deopt_occurred, jint) \
46 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _deopt_next_index, jint) \ 46 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _deopt_next_index, jint) \
47 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _donor_threads, JavaThread**) \ 47 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _cur_tlab_info, HSAILTlabInfo**) \
48 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _never_ran_array, jboolean *) \ 48 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _alloc_info, HSAILAllocationInfo*) \
49 nonstatic_field(Hsail::HSAILDeoptimizationInfo, _never_ran_array, jboolean*) \
50 \
51 nonstatic_field(HSAILAllocationInfo, _tlab_infos_pool_start, HSAILTlabInfo*) \
52 nonstatic_field(HSAILAllocationInfo, _tlab_infos_pool_next, HSAILTlabInfo*) \
53 nonstatic_field(HSAILAllocationInfo, _tlab_infos_pool_end, HSAILTlabInfo*) \
54 nonstatic_field(HSAILAllocationInfo, _tlab_align_reserve_bytes, size_t) \
55 \
56 nonstatic_field(HSAILTlabInfo, _start, HeapWord*) \
57 nonstatic_field(HSAILTlabInfo, _top, HeapWord*) \
58 nonstatic_field(HSAILTlabInfo, _end, HeapWord*) \
59 nonstatic_field(HSAILTlabInfo, _last_good_top, HeapWord*) \
60 nonstatic_field(HSAILTlabInfo, _original_top, HeapWord*) \
61 nonstatic_field(HSAILTlabInfo, _donor_thread, JavaThread*) \
62 nonstatic_field(HSAILTlabInfo, _alloc_info, HSAILAllocationInfo*) \
49 63
50 #define VM_TYPES_GPU_HSAIL(declare_type, declare_toplevel_type) \ 64 #define VM_TYPES_GPU_HSAIL(declare_type, declare_toplevel_type) \
51 declare_toplevel_type(HSAILFrame) \ 65 declare_toplevel_type(HSAILFrame) \
52 declare_toplevel_type(HSAILFrame*) \ 66 declare_toplevel_type(HSAILFrame*) \
53 declare_toplevel_type(Hsail::HSAILKernelDeoptimization) \ 67 declare_toplevel_type(Hsail::HSAILKernelDeoptimization) \
68 declare_toplevel_type(HSAILAllocationInfo) \
69 declare_toplevel_type(HSAILTlabInfo) \
54 declare_toplevel_type(Hsail::HSAILDeoptimizationInfo) 70 declare_toplevel_type(Hsail::HSAILDeoptimizationInfo)
55 71
56 #endif // GPU_HSAIL_VM_VMSTRUCTS_HSAIL_HPP 72 #endif // GPU_HSAIL_VM_VMSTRUCTS_HSAIL_HPP