Added additional assert() statements for OpenCL multi-context operations.