Files
CMake/Tests/CudaOnly/ResolveDeviceSymbols/file2.h
T
Robert Maynard 2d7bb13da7 CUDA: static lib device linking computes required static libs
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.
2019-09-05 10:51:02 -04:00

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);