mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
2d7bb13da7
Previously the CMake didn't compute the required set of libraries needed to properly device link a static library when CUDA_RESOLVE_DEVICE_SYMBOLS was enabled.
13 lines
161 B
C
13 lines
161 B
C
|
|
#pragma once
|
|
#include "file1.h"
|
|
|
|
struct result_type_dynamic
|
|
{
|
|
int input;
|
|
int sum;
|
|
bool from_static;
|
|
};
|
|
|
|
result_type_dynamic __device__ file2_func(int x);
|