summaryrefslogtreecommitdiff
path: root/liboffloadmic/runtime/offload_target.h
diff options
context:
space:
mode:
Diffstat (limited to 'liboffloadmic/runtime/offload_target.h')
-rw-r--r--liboffloadmic/runtime/offload_target.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/liboffloadmic/runtime/offload_target.h b/liboffloadmic/runtime/offload_target.h
index f3a42f982c8..5638796f2d1 100644
--- a/liboffloadmic/runtime/offload_target.h
+++ b/liboffloadmic/runtime/offload_target.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2014 Intel Corporation. All Rights Reserved.
+ Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -99,16 +99,16 @@ private:
};
// one time target initialization in main
-extern void __offload_target_init(void);
+DLL_LOCAL extern void __offload_target_init(void);
// logical device index
-extern int mic_index;
+DLL_LOCAL extern int mic_index;
// total number of available logical devices
-extern int mic_engines_total;
+DLL_LOCAL extern int mic_engines_total;
// device frequency (from COI)
-extern uint64_t mic_frequency;
+DLL_LOCAL extern uint64_t mic_frequency;
struct RefInfo {
RefInfo(bool is_add, long amount):is_added(is_add),count(amount)