| 556 | } |
| 557 | |
| 558 | static void floor_alloc_host_stack_memory() { |
| 559 | if (!floor_stack_memory_data) { |
| 560 | floor_stack_memory_data = make_aligned_ptr<uint8_t>(floor_max_thread_count * item_stack_size * host_limits::max_total_local_size); |
| 561 | } |
| 562 | } |
| 563 | |
| 564 | // |
| 565 | host_kernel::host_kernel(const void* kernel_, const string& func_name_, compute_kernel::kernel_entry&& entry_) : |