MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / mlirCudaTileTileTypeGet

Function mlirCudaTileTileTypeGet

lib/CAPI/Dialect/CudaTileDialect.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74MlirType mlirCudaTileTileTypeGet(MlirContext ctx, intptr_t rank,
75 const int64_t *shape, MlirType elementType) {
76 ArrayRef<int64_t> shapeRef(shape, rank);
77 return wrap(TileType::get(unwrap(ctx), shapeRef, unwrap(elementType)));
78}
79
80MlirType mlirCudaTileTileTypeGetElementType(MlirType type) {
81 return wrap(cast<TileType>(unwrap(type)).getElementType());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected