CMake/Tests/CudaOnly/ResolveDeviceSymbols/file1.h
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

11 lines
106 B
C

#pragma once
struct result_type
{
int input;
int sum;
};
result_type __device__ file1_func(int x);