Lines Matching refs:ctx
106 auto &ctx = obj(d_ctx);
121 return new program(ctx, std::move(source), program::il_type::source);
134 auto &ctx = obj(d_ctx);
141 return !count(dev, ctx.devices());
176 return new program(ctx, devs, map(values(), result));
186 auto &ctx = obj(d_ctx);
194 for (const device &dev : ctx.devices()) {
203 ctx.notify);
210 return new program(ctx, std::move(binary), il_type);
230 auto &ctx = obj(d_ctx);
234 return !count(dev, ctx.devices());
431 auto &ctx = obj(d_ctx);
435 (d_devs ? objs(d_devs, num_devs) : ref_vector<device>(ctx.devices()));
436 auto prog = create<program>(ctx, all_devs);