@@ -30,12 +30,12 @@ def _dpctl_dir() -> str:
30
30
31
31
32
32
def get_include_dir () -> str :
33
- "Prints include flags for dpctl and SyclInterface library"
33
+ "Prints include flags for dpctl and DPCTLSyclInterface library"
34
34
return os .path .join (_dpctl_dir (), "include" )
35
35
36
36
37
37
def print_include_flags () -> None :
38
- "Prints include flags for dpctl and SyclInterface library"
38
+ "Prints include flags for dpctl and DPCTLSyclInterface library"
39
39
print ("-I " + get_include_dir ())
40
40
41
41
@@ -46,13 +46,13 @@ def get_tensor_include_dir() -> str:
46
46
47
47
48
48
def print_tensor_include_flags () -> None :
49
- "Prints include flags for dpctl and SyclInterface library"
49
+ "Prints include flags for dpctl and DPCTLSyclInterface library"
50
50
libtensor_dir = get_tensor_include_dir ()
51
51
print ("-I " + libtensor_dir )
52
52
53
53
54
54
def print_cmake_dir () -> None :
55
- "Prints directory with FindDpctl .cmake"
55
+ "Prints directory with dpctl-config .cmake"
56
56
dpctl_dir = _dpctl_dir ()
57
57
cmake_dir = os .path .join (dpctl_dir , "resources" , "cmake" )
58
58
print (cmake_dir )
@@ -64,13 +64,13 @@ def get_library_dir() -> str:
64
64
65
65
66
66
def print_library () -> None :
67
- "Prints linker flags for SyclInterface library"
67
+ "Prints linker flags for DPCTLSyclInterface library"
68
68
dpctl_dir = get_library_dir ()
69
69
plt = platform .platform ()
70
70
ld_flags = "-L " + dpctl_dir
71
71
if plt != "Windows" :
72
72
ld_flags = ld_flags + " -Wl,-rpath," + dpctl_dir
73
- print (ld_flags + " -lSyclInterface " )
73
+ print (ld_flags + " -lDPCTLSyclInterface " )
74
74
75
75
76
76
def _warn_if_any_set (args , li ) -> None :
0 commit comments