Skip to content

硬件平台:Adreno(TM) 640,后端:OpenCL,开启MNN_GPU_MEMORY_BUFFER,执行createSession出现段错误 #3983

@nimda-z

Description

@nimda-z

硬件平台:Adreno(TM) 640,后端:OpenCL,开启MNN_GPU_MEMORY_BUFFER,执行createSession出现段错误。
通过加打印定位到段错误函数:
source/backend/opencl/core/runtime/OpenCLRuntime.cpp : buildKernelWithCache。

以下是在buildKernelWithCache函数中加的打印信息:
programName:conv_2d_buf, kernelName:conv_2d_c4h1w1
buildOptionsStr:
-DFLOAT=half -DFLOAT2=half2 -DFLOAT3=half3 -DFLOAT4=half4 -DFLOAT8=half8 -DFLOAT16=half16 -DCOMPUTE_FLOAT=half -DCOMPUTE_FLOAT2=half2 -DCOMPUTE_FLOAT3=half3 -DCOMPUTE_FLOAT4=half4 -DCOMPUTE_FLOAT8=half8 -DCOMPUTE_FLOAT16=half16 -DCONVERT_COMPUTE_FLOAT=convert_half -DCONVERT_COMPUTE_FLOAT2=convert_half2 -DCONVERT_COMPUTE_FLOAT3=convert_half3 -DCONVERT_COMPUTE_FLOAT4=convert_half4 -DCONVERT_COMPUTE_FLOAT8=convert_half8 -DCONVERT_COMPUTE_FLOAT16=convert_half16 -DRI_F=read_imageh -DWI_F=write_imageh -DCONVERT_FLOAT=convert_half -DCONVERT_FLOAT2=convert_half2 -DCONVERT_FLOAT3=convert_half3 -DCONVERT_FLOAT4=convert_half4 -DCONVERT_FLOAT8=convert_half8 -DCONVERT_FLOAT16=convert_half16 -DMNN_SUPPORT_FP16 -DSET_ATTRIBUTE=true -DRELU -cl-mad-enable -w
Abort (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions