Commit 1cc6c88c authored by Paul's avatar Paul
Browse files

Updates

parent 467a7cb8
......@@ -4,4 +4,4 @@ blaze,https://bitbucket.org/blaze-lib/blaze/get/f0755dea0e03.tar.gz -X header -D
half,https://github.com/pfultz2/half/archive/1.12.0.tar.gz -X header -H sha256:0a08660b68abb176ebc2a0cdf8de46e3182a7f46c66443bb80dbfaaec98cf969
pybind/pybind11@d159a563383d10c821ba7b2a71905d1207db6de4 --build
msgpack/msgpack-c@cpp-3.3.0 -DMSGPACK_BUILD_TESTS=Off
# ROCmSoftwarePlatform/llvm-project-mlir,jungpark-mlir/llvm-project-mlir@263a3b89c7ce83bef23c7530217184abcfd79956 -DBUILD_MIXR_TARGET=On
# ROCmSoftwarePlatform/llvm-project-mlir,jungpark-mlir/llvm-project-mlir@b3d5ec05408a32cd63c98074a344930ecc7552bc -DBUILD_MIXR_TARGET=On
......@@ -549,14 +549,14 @@ instruction_ref insert_mlir(module& m,
s.lens().end(),
std::back_inserter(refs),
[&](const auto& lval) { return get_literal(lval); });
refs.push_back(get_literal(1)); // G
// refs.push_back(get_literal(1)); // G
// dim strides
std::transform(s.strides().begin(),
s.strides().end(),
std::back_inserter(refs),
[&](const auto& lval) { return get_literal(lval); });
refs.push_back(get_literal(1)); // G
// refs.push_back(get_literal(1)); // G
}
co.expected_inputs = to_shapes(refs);
co.output = mmlir.get_output_shapes().front();
......
......@@ -54,6 +54,7 @@ migraphx::parameter_map generate_params(const migraphx::program& p)
std::size_t i = 0;
for(auto&& x : p.get_parameter_shapes())
{
// m[x.first] = migraphx::fill_argument(x.second, 1);
m[x.first] = migraphx::generate_argument(x.second, i++);
}
return m;
......
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