File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -320,8 +320,8 @@ MLIR_CAPI_EXPORTED bool mlirShapedTypeIsDynamicStrideOrOffset(int64_t val);
320320MLIR_CAPI_EXPORTED bool mlirShapedTypeIsStaticStrideOrOffset (int64_t val );
321321
322322/// Returns the value indicating a dynamic stride or offset in a shaped type.
323- /// Prefer mlirShapedTypeGetDynamicStrideOrOffset to direct comparisons with
324- /// this value.
323+ /// Prefer mlirShapedTypeIsDynamicStrideOrOffset and
324+ /// mlirShapedTypeIsStaticStrideOrOffset to direct comparisons with this value.
325325MLIR_CAPI_EXPORTED int64_t mlirShapedTypeGetDynamicStrideOrOffset (void );
326326
327327//===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -346,12 +346,12 @@ def testConcreteShapedType():
346346 # CHECK: is_dynamic_stride_or_offset_with_dynamic: True
347347 print (
348348 "is_dynamic_stride_or_offset_with_dynamic:" ,
349- vector .is_dynamic_stride_or_offset (dynamic_stride_val )
349+ vector .is_dynamic_stride_or_offset (dynamic_stride_val ),
350350 )
351351 # CHECK: is_static_stride_or_offset_with_dynamic: False
352352 print (
353353 "is_static_stride_or_offset_with_dynamic:" ,
354- vector .is_static_stride_or_offset (dynamic_stride_val )
354+ vector .is_static_stride_or_offset (dynamic_stride_val ),
355355 )
356356 # CHECK: isinstance(ShapedType): True
357357 print ("isinstance(ShapedType):" , isinstance (vector , ShapedType ))
You can’t perform that action at this time.
0 commit comments