Skip to content

引入的文件头顺序问题 导致无法正常编译((.text+0x20): undefined reference to `main') #8

Open

Description

@csijun

image

在 01 check_dimension.cu 文件中,进行编译会报错,
image
调整引入顺序后可正常编译
#include <stdio.h>
#include <cuda_runtime.h>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions