## Streams ### In all Earlier tutorial we used single stream, In this tutorial, we'll explain how to launch multiple streams. ## Introduction: The various instances of kernel to be executed on device in exact launch order defined by Host are called streams. We can launch multiple streams on a single device. We will learn how to learn two streams which can we scaled with ease. ## Requirement: For hardware requirement and software installation [Installation](https://github.com/ROCm-Developer-Tools/HIP/blob/master/INSTALL.md) ## prerequiste knowledge: Programmers familiar with CUDA, OpenCL will be able to quickly learn and start coding with the HIP API. In case you are not, don't worry. You choose to start with the best one. We'll be explaining everything assuming you are completely new to gpgpu programming. ## Simple Matrix Transpose We will be using the Simple Matrix Transpose application from the previous tutorial and modify it to learn how to launch multiple streams. ## Streams In this tutorial, we'll use both instances of shared memory (i.e., static and dynamic) as different streams. We declare stream as follows: ` hipStream_t streams[num_streams]; ` and create stream using `hipStreamCreate` as follows: ``` for(int i=0;i