59 fatal_if(wf_size > std::numeric_limits<unsigned long long>::digits ||
61 "WF size is larger than the host can support or is zero");
62 fatal_if((wf_size & (wf_size - 1)) != 0,
63 "Wavefront size should be a power of 2");
64 for (
int i = 0;
i <
s_reg.size(); ++
i) {
65 s_reg[
i].resize(wf_size, 0);
68 for (
int i = 0;
i <
d_reg.size(); ++
i) {
69 d_reg[
i].resize(wf_size, 0);
void init(uint32_t _size, uint32_t wf_size)
void setParent(ComputeUnit *_computeUnit)
virtual const std::string name() const
std::vector< std::vector< uint32_t > > s_reg
std::vector< std::vector< uint64_t > > d_reg
ComputeUnit * computeUnit
fatal_if(p->js_features.size() > 16,"Too many job slot feature registers specified (%i)\n", p->js_features.size())