Searched refs:bufFlags (Results 1 – 1 of 1) sorted by relevance
2402 const MemFlags bufFlags = buf.getFlags(); in ValidateCreateSubBuffer() local2405 if ((bufFlags.isSet(CL_MEM_WRITE_ONLY) && flags.isSet(CL_MEM_READ_WRITE | CL_MEM_READ_ONLY)) || in ValidateCreateSubBuffer()2408 (bufFlags.isSet(CL_MEM_READ_ONLY) && flags.isSet(CL_MEM_READ_WRITE | CL_MEM_WRITE_ONLY)) || in ValidateCreateSubBuffer()2417 if ((bufFlags.isSet(CL_MEM_HOST_WRITE_ONLY) && flags.isSet(CL_MEM_HOST_READ_ONLY)) || in ValidateCreateSubBuffer()2420 (bufFlags.isSet(CL_MEM_HOST_READ_ONLY) && flags.isSet(CL_MEM_HOST_WRITE_ONLY)) || in ValidateCreateSubBuffer()2423 (bufFlags.isSet(CL_MEM_HOST_NO_ACCESS) && in ValidateCreateSubBuffer()