Searched refs:IsTypeValid (Results 1 – 3 of 3) sorted by relevance
23 static bool IsTypeValid(MemObjectType imageType);60 return Memory::IsValid(image) && IsTypeValid(image->cast<Memory>().getType()); in IsValid()
17 bool Image::IsTypeValid(MemObjectType imageType) in IsTypeValid() function in cl::Image
893 if (!ValidateMemoryFlags(flags, ctx.getPlatform()) || !Image::IsTypeValid(image_type)) in ValidateGetSupportedImageFormats()