MPS Internal Error caused by MPSCNNConvolution

Originator:Jerryzh168
Number:rdar://32276480 Date Originated:May 18
Status:Open Resolved:
Product:iOS + SDK Metal Product Version:10.3.1
Classification: Reproducible:Always
 
Area:
Metal

Summary:
Using MPSCNNConvolution with unequal kernel dimension causes MPS internal error: could not create specialized function with name cnnConvGenF'

Steps to Reproduce:
When using MPSCNNConvolution with following parameters:
    stride_h:1
    stride_w:1
    pad_l:0
    pad_r:0
    pad_t:0
    pad_b:0
    kernel_w:7
    kernel_h:2
    I0512 14:56:38.123620 2854312768 mpscnn.mm:580] offset.x:3 offset.y:1
    I0512 14:56:38.123656 2854312768 mpscnn.mm:596] Output height: 56
    I0512 14:56:38.123669 2854312768 mpscnn.mm:597] Output width:66
    I0512 14:56:38.123682 2854312768 mpscnn.mm:598] Output channels:8
    Input height and width are 57, 72

Expected Results:
It should be able to run

Observed Results:
2017-05-12 14:56:38.123776-0700 AI Demos[9088:2664928] /BuildRoot/Library/Caches/com.apple.xbs/Sources/MetalImage/MetalImage-61.5/MetalPerformanceShaders/Utility/MPSLibrary.mm, line 357: error 'MPS internal error: could not create specialized function with name cnnConvGenF'

Version:
10.3.1

Notes:


Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!