Skip to content

01_vector_add test compile error. Just want to confirm can this test be well supported. #211

@FatJhon

Description

@FatJhon

Describe the bug

user guide test vector_add test, just fail to make_so,get error information as follows:
ret = subprocess.check_call(cc_cmd)
File "/usr/local/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/rh/gcc-toolset-11/root/usr/bin/gcc', '/tmp/tmp59kzdlsc/kernel.s', '-O3', '-shared', '-fPIC', '-Wno-psabi', '-o', '/tmp/tmp59kzdlsc/kernel.cpython-310-x86_64-linux-gnu.so', '-lm', '-lTritonCPURuntime', '-lsleef', '-lgcc', '-L/home/workspace/torch-triton/triton-cpu/python/triton/_C', '-L/usr/local/lib', '-I/usr/local/include', '-I/tmp/tmp59kzdlsc', '-I/usr/local/include/python3.10', '-Wl,-rpath', PosixPath('/home/workspace/torch-triton/triton-cpu/python/triton/_C'), '-Wl,-rpath', '/usr/local/lib', '-g']' returned non-zero exit status 1.

Environment details

use the newest master && cpu backend test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions