Commit 96c82f21 authored by Khalique Ahmed's avatar Khalique Ahmed
Browse files

formatting

parent cb965031
...@@ -21,7 +21,7 @@ void softmax(hipStream_t stream, const argument& result, const argument& arg, in ...@@ -21,7 +21,7 @@ void softmax(hipStream_t stream, const argument& result, const argument& arg, in
hip_visit_all(result, arg, batch_shape)([&](auto output, auto input, auto batch) { hip_visit_all(result, arg, batch_shape)([&](auto output, auto input, auto batch) {
const index_int max_block_size = 128; const index_int max_block_size = 128;
const index_int block_size = compute_block_size(batch_item_num, max_block_size); const index_int block_size = compute_block_size(batch_item_num, max_block_size);
using type = device_type<std::remove_cv_t<typename decltype(input)::value_type>>; using type = device_type<std::remove_cv_t<typename decltype(input)::value_type>>;
type init = lowest(); type init = lowest();
......
...@@ -110,9 +110,8 @@ struct miopen_apply ...@@ -110,9 +110,8 @@ struct miopen_apply
assert(pass != nullptr); assert(pass != nullptr);
#if ROCBLAS_VERSION_MAJOR >= 2 && ROCBLAS_VERSION_MINOR >= 38 #if ROCBLAS_VERSION_MAJOR >= 2 && ROCBLAS_VERSION_MINOR >= 38
auto& ctx = get_context(); auto& ctx = get_context();
const auto device_name = const auto device_name = trim(split_string(get_device_name(), ':').front());
trim(split_string(get_device_name(), ':').front());
if(contains(get_rocblas_fp32_archs(), device_name)) if(contains(get_rocblas_fp32_archs(), device_name))
compute_fp32 = true; compute_fp32 = true;
rocblas_gemm_flags flag; rocblas_gemm_flags flag;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment