CudaCompile's .cu includes a header of its own now. After the unchanged build, the test makes the header newer than the object and builds once more, which has to run nvcc again. Before nvcc wrote a depfile, it did not, and the object built from the old header stayed.
8 lines
279 B
C++
8 lines
279 B
C++
// SPDX-License-Identifier: LGPL-3.0-only
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
|
|
|
#pragma once
|
|
|
|
// What kernel.cu multiplies every index by: a header of the .cu's own, which
|
|
// the test makes newer than the object built from it.
|
|
constexpr float Factor = 2.0f;
|