mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-12 17:26:00 +00:00
tuning on vega 20
This commit is contained in:
@@ -116,11 +116,7 @@ struct ConstantTensorDescriptor
|
||||
|
||||
static_for<0, nDim, 1>{}([&](auto IDim) {
|
||||
constexpr index_t idim = IDim.Get();
|
||||
#if DEVICE_BACKEND_HIP
|
||||
id += __mul24(multi_id[idim], GetStride(IDim));
|
||||
#else
|
||||
id += multi_id[idim] * GetStride(IDim);
|
||||
#endif
|
||||
});
|
||||
|
||||
return id;
|
||||
|
||||
Reference in New Issue
Block a user