File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
fbgemm_gpu/experimental/gen_ai Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ file(GLOB experimental_gen_ai_cpp_source_files_gpu
26
26
src/quantize/*.cpp
27
27
src/quantize/*.cu )
28
28
29
- # Set the source file for FB only CPP
30
- if (USE_FB_ONLY )
31
- file (GLOB fb_only_ops_sources
32
- fb/src/*/*.cu
33
- fb/src/*/*.cpp )
34
- list (APPEND experimental_gen_ai_cpp_source_files_gpu ${fb_only_ops_sources} )
35
- endif ()
36
-
37
29
# CUDA-specific sources
38
30
file (GLOB_RECURSE experimental_gen_ai_cpp_source_files_cuda
39
31
src/quantize/cutlass_extensions/*.cu
@@ -53,6 +45,14 @@ file(GLOB_RECURSE experimental_gen_ai_cpp_source_files_hip
53
45
file (GLOB_RECURSE experimental_gen_ai_python_source_files
54
46
gen_ai/*.py )
55
47
48
+ # Set the source file for FB only CPP
49
+ if (USE_FB_ONLY )
50
+ file (GLOB fb_only_cxx_sources
51
+ fb/src/*/*.cu
52
+ fb/src/*/*.cpp )
53
+ list (APPEND experimental_gen_ai_cpp_source_files_gpu ${fb_only_cxx_sources} )
54
+ endif ()
55
+
56
56
57
57
################################################################################
58
58
# Build Shared Library
@@ -82,3 +82,9 @@ add_to_package(
82
82
DESTINATION fbgemm_gpu/experimental/gen_ai
83
83
TARGETS fbgemm_gpu_experimental_gen_ai
84
84
FILES ${experimental_gen_ai_python_source_files} )
85
+
86
+ if (USE_FB_ONLY )
87
+ install (
88
+ DIRECTORY fb/gen_ai
89
+ DESTINATION fbgemm_gpu/experimental/gen_ai )
90
+ endif ()
You can’t perform that action at this time.
0 commit comments