Skip to content

Commit 569a79c

Browse files
committed
Switch on ATen/kernels/test
1 parent 75dbbb1 commit 569a79c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

source/source_base/module_container/ATen/kernels/lapack.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ struct lapack_hegvd {
105105
* @note
106106
* See LAPACK ZHEGVD or CHEGVD documentation for more details.
107107
* This function assumes that A and B have the same leading dimensions, lda.
108+
* This function copies B to auxiliary memory to avoid being overwritten.
108109
*/
109110
void operator()(
110111
const int n,

source/source_base/module_container/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endif()
2121

2222
add_library(container STATIC ${ATen_CPU_SRCS} ${ATen_CUDA_SRCS})
2323

24-
target_link_libraries(container PUBLIC
24+
target_link_libraries(container PUBLIC
2525
${ATen_CPU_DEPENDENCY_LIBS} ${ATen_CUDA_DEPENDENCY_LIBS} ${ATen_ROCM_DEPENDENCY_LIBS})
2626

2727
if(ENABLE_COVERAGE)
@@ -31,5 +31,6 @@ endif()
3131
if(BUILD_TESTING)
3232
if(ENABLE_MPI)
3333
add_subdirectory(test)
34+
add_subdirectory(ATen/kernels/test)
3435
endif()
3536
endif()

0 commit comments

Comments
 (0)