Skip to content

Ch21_migrating_cuda_code needs to be qualified #142

Description

@jaynu2

samples/CMakeLists.txt should be qualified
Otherwise the build just fails...

Otherwise, nice job on the cmake.

if(WITHCUDA)
add_subdirectory( Ch21_migrating_cuda_code )
endif()

although a suggestion ...
mkdir build
cd build
cmake -S .. -D .
make
would keep all the build data from cluttering up the source tree.

Also, I added this to .bashrc
if [[ -z "$SETVARS_COMPLETED" ]]; then
source /opt/intel/oneapi/setvars.sh
fi

Otherwise vscode complains when you create a new term.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions