Driver: moved programs allocation logic to a static variable
This commit is contained in:
@@ -48,10 +48,14 @@ Context::Context(Device const & device) : backend_(device.backend_), device_(dev
|
||||
}
|
||||
|
||||
bool Context::operator==(Context const & other) const
|
||||
{ return h_==other.h_; }
|
||||
{
|
||||
return h_==other.h_;
|
||||
}
|
||||
|
||||
bool Context::operator<(Context const & other) const
|
||||
{ return h_<other.h_; }
|
||||
{
|
||||
return h_<other.h_;
|
||||
}
|
||||
|
||||
Device const & Context::device() const
|
||||
{ return device_; }
|
||||
|
Reference in New Issue
Block a user