Commit bc8eb7c9 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

remove support for miopenInt8x4 on Windows

parent a9651b30
...@@ -143,6 +143,7 @@ inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = fals ...@@ -143,6 +143,7 @@ inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = fals
d = miopenInt32; d = miopenInt32;
else if(s.type() == shape::int8_type) else if(s.type() == shape::int8_type)
{ {
#ifndef _WIN32
if(pack) if(pack)
{ {
// update the lens and corresponding strides // update the lens and corresponding strides
...@@ -154,6 +155,12 @@ inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = fals ...@@ -154,6 +155,12 @@ inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = fals
{ {
d = miopenInt8; d = miopenInt8;
} }
#else
// MIGraphX on Windows is based on the most recent MIOpen.
// The support for miopenInt8x4 has been discontinued.
(void)pack;
d = miopenInt8;
#endif
} }
else else
{ {
......
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