Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gfx110x] ConvDirectNaiveConvFwd mistakenly not applicable after #3213 #3279

Open
junliume opened this issue Sep 30, 2024 · 0 comments · May be fixed by #3284
Open

[gfx110x] ConvDirectNaiveConvFwd mistakenly not applicable after #3213 #3279

junliume opened this issue Sep 30, 2024 · 0 comments · May be fixed by #3284
Assignees

Comments

@junliume
Copy link
Collaborator

@averinevg could you take a look?

mini reproducer:

./bin/MIOpenDriver convfp16 -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1
./bin/MIOpenDriver conv -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1

Before #3213:

✗ ./bin/MIOpenDriver conv -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1
MIOpenDriver conv -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1
PRNG seed: 12345678
MIOpen Forward Conv. Algorithm: 1, Solution: 85/ConvDirectNaiveConvFwd
GPU Kernel Time Forward Conv. Elapsed: 0.006373 ms (average)
stats: name, n, c, ho, wo, x, y, k, flopCnt, bytesRead, bytesWritten, GFLOPs, GB/s, timeMs
stats: fwd-conv1x1u1, 1, 1, 7, 7, 1, 1, 1,  98, 200, 196, 0, 0, 0.006373
Forward Convolution Verifies OK on GPU reference (0 < 1.5e-06)

Aftrer #3213

✗ ./bin/MIOpenDriver conv -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1 -S -88
MIOpenDriver conv -n 1 -c 1 -H 7 -W 7 -k 1 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 --in_layout NHWC --out_layout NHWC -m conv -g 1 -F 1 -t 1 -S -88
PRNG seed: 12345678
MIOpen Error: /home/MIOpen/src/ocl/convolutionocl.cpp:276: No suitable algorithm was found to execute the required convolution
RunForwardGPU() FAILED, rc = 0x7
Forward Convolution FAILED: 1.79769e+308 > 1.5e-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants