/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/stream_config.hpp Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/stream_config.hpp Source File#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/stream_config.hpp Source File
stream_config.hpp
Go to the documentation of this file.
1 // SPDX-License-Identifier: MIT
2 // Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
3 
4 #pragma once
5 
6 #include <hip/hip_runtime.h>
7 #include <hip/hip_fp16.h>
8 
10 {
11  hipStream_t stream_id_ = nullptr;
12  bool time_kernel_ = false;
13  int log_level_ = 0;
14  int cold_niters_ = 5;
15  int nrepeat_ = 50;
16 
17  bool flush_cache = false;
18  int rotating_count = 1;
19 };
Definition: stream_config.hpp:10
bool flush_cache
Definition: stream_config.hpp:17
int rotating_count
Definition: stream_config.hpp:18
int cold_niters_
Definition: stream_config.hpp:14
bool time_kernel_
Definition: stream_config.hpp:12
int nrepeat_
Definition: stream_config.hpp:15
hipStream_t stream_id_
Definition: stream_config.hpp:11
int log_level_
Definition: stream_config.hpp:13