e.g. clGetDeviceIDs accepts a null platform argument, though the behaviour is implementation-defined.