File size: 958 Bytes
fca4fc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.. meta::
  :description: Composable Kernel structure
  :keywords: composable kernel, CK, ROCm, API, structure

.. _what-is-ck:

********************************************************************
Composable Kernel structure
********************************************************************

The Composable Kernel library uses a tile-based programming model and tensor coordinate transformation to achieve performance portability and code maintainability. Tensor coordinate transformation is a complexity reduction technique for complex machine learning operators.
  

.. image:: ../data/ck_component.png
   :alt: CK Components


The Composable Kernel library consists of four layers: 

* a templated tile operator layer
* a templated kernel and invoker layer
* an instantiated kernel and invoker layer
* a client API layer.

A wrapper component is included to simplify tensor transform operations.

.. image:: ../data/ck_layer.png
   :alt: CK Layers