You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
331 B
21 lines
331 B
8 years ago
|
#include <iostream>
|
||
|
|
||
|
#include "file1.h"
|
||
|
#include "file2.h"
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#define IMPORT __declspec(dllimport)
|
||
|
#else
|
||
|
#define IMPORT
|
||
|
#endif
|
||
|
|
||
|
IMPORT int call_cuda_seperable_code(int x);
|
||
|
IMPORT int mixed_launch_kernel(int x);
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
call_cuda_seperable_code(42);
|
||
|
mixed_launch_kernel(42);
|
||
|
return 0;
|
||
|
}
|