Skip to content

Commit 4b51384

Browse files
committed
globals: change macro name to match the environment variable name
1 parent 99b3d62 commit 4b51384

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/acl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ typedef struct {
267267
/* Must match definition in aoc.pl */
268268
#define ACL_MPSIM_DEVICE_NAME "SimulatorDevice"
269269
/* Specifies which device simulator should simulate */
270-
#define ACL_MPSIM_PRJ_DIR "ACL_MPSIM_BOARD_SPEC_DIR"
270+
#define ACL_MPSIM_BOARD_SPEC_DIR "ACL_MPSIM_BOARD_SPEC_DIR"
271271

272272
#define ACL_RAND_HASH_SIZE 40
273273

src/acl_globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const char *acl_get_offline_device_user_setting(int *use_offline_only_ret) {
110110
// Look for multi-process simulator before old simulator.
111111
// Check if simulation board spec directory is set, which shadows
112112
// CL_CONTEXT_MPSIM_DEVICE_INTELFPGA
113-
setting = acl_getenv(ACL_MPSIM_PRJ_DIR);
113+
setting = acl_getenv(ACL_MPSIM_BOARD_SPEC_DIR);
114114
if (!setting) {
115115
setting = acl_getenv("CL_CONTEXT_MPSIM_DEVICE_INTELFPGA");
116116
}

0 commit comments

Comments
 (0)