Skip to content

Ch21_migrating_cuda_code needs to be qualified #142

@jaynu2

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.

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