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

Fix(mluOpFocalLossSigmoidBackward): fix unknown address space warning #1156

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

stulai
Copy link
Collaborator

@stulai stulai commented Nov 22, 2024

  1. Motivation
    Please describe your motivation and the goal you want to achieve through this pull request.

  2. Modification
    kernels/focal_loss_sigmoid/focal_loss_sigmoid_backward_union1.mlu

  3. Test Report
    修改前:
    [ 50%] Building CNCC object CMakeFiles/mluops.dir/kernels/focal_loss_sigmoid/mluops_generated_focal_loss_sigmoid_backward_union1.mlu.o
    [ 54%] Built target pb2prototxt
    [ 56%] Built target prototxt2pb
    [ 92%] Built target mluop_pb_gtest_obj
    warning: unknown address space, please use addrspace-specified load/store functions.
    for example: __load_nram.
    warning: unknown address space, please use addrspace-specified load/store functions.
    for example: __load_nram.
    Consolidate compiler generated dependencies of target mluops
    [ 93%] Linking CXX shared library lib/libmluops.so
    [ 97%] Built target mluops
    [100%] Linking CXX executable ../test/mluop_gtest
    [100%] Linking CXX executable ../test/mluop_api_gtest
    [100%] Built target mluop_api_gtest
    [100%] Built target mluop_gtest
    修改后无warning:
    [ 50%] Built target mluop_gtest_kernels
    [ 50%] Building CNCC object CMakeFiles/mluops.dir/kernels/focal_loss_sigmoid/mluops_generated_focal_loss_sigmoid_backward_union1.mlu.o
    [ 60%] Built target pb2prototxt
    [ 64%] Built target prototxt2pb
    [ 92%] Built target mluop_pb_gtest_obj
    Consolidate compiler generated dependencies of target mluops
    [ 93%] Linking CXX shared library lib/libmluops.so
    [ 97%] Built target mluops
    [ 98%] Linking CXX executable ../test/mluop_api_gtest
    [100%] Linking CXX executable ../test/mluop_gtest
    [100%] Built target mluop_api_gtest
    [100%] Built target mluop_gtest

@stulai stulai force-pushed the focal_loss_bp_warning_fix_ branch from 841ec01 to 4b4e126 Compare November 25, 2024 08:49
Copy link
Collaborator

@DanieeelLiu DanieeelLiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PetrelYy PetrelYy added this to the v1.4.0 milestone Nov 25, 2024
@PetrelYy PetrelYy added the Bug Fix Something isn't working label Nov 25, 2024
@duzekunKTH duzekunKTH merged commit 3ad18e2 into Cambricon:master Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants