================ @@ -12022,6 +12022,56 @@ def ext_opencl_ext_vector_type_rgba_selector: ExtWarn< def err_openclcxx_placement_new : Error< "use of placement new requires explicit declaration">; +// OpenCL C Cooperative Matrix. +def err_coopmat_without_pragma + : Error<"cooperative matrix types require OpenCL extension '%0' to be enabled via pragma">; + +def err_invalid_coopmat_attr + : Error<"invalid '%0' argument of cooperative matrix attribute">; + +def err_invalid_coopmat_mem_layout + : Error<"memory layout for cooperative matrix load/store should be " + "CLK_COOPERATIVE_MATRIX_LAYOUT_ROW_MAJOR or " + "CLK_COOPERATIVE_MATRIX_LAYOUT_COLUMN_MAJOR">; + +def err_invalid_coopmat_stride_type + : Error<"stride argument for load/store of cooperative matrix must have " + "type 'size_t'">; + +def err_coopmat_mismatch_element_and_pointer_type + : Error<"inconsistent between cooperative matrix element type and buffer " ---------------- asudarsa-qti wrote:
Ah..we actually do not need this diagnostic anymore. I have relaxed this constraint. Removing it. https://github.com/llvm/llvm-project/pull/221328 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
