Skip to content

Conversation

@reverendbedford
Copy link
Collaborator

Miscellaneous fixes required to get things to work on aurora.

@github-actions
Copy link
Contributor

set(NEML2_DOC OFF CACHE BOOL "Build NEML2 documentation (html)")
set(NEML2_WORK_DISPATCHER OFF CACHE BOOL "Enable NEML2 work dispatcher")
set(NEML2_JSON OFF CACHE BOOL "Enable JSON support")
set(AURORA_BUILD OFF CACHE BOOL "Build on ALCF Aurora machine")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer a more general flag like NEML2_IPEX. I suppose there's nothing else specific to Aurora.

# Intel Extension for PyTorch
# ----------------------------------------------------------------------------
if (AURORA_BUILD)
find_library(IPEX_LIB intel-ext-pt-gpu PATHS ${INTEL_EXTENSION_FOR_PYTORCH_PATH}/lib NO_DEFAULT_PATH REQUIRED)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
find_library(IPEX_LIB intel-ext-pt-gpu PATHS ${INTEL_EXTENSION_FOR_PYTORCH_PATH}/lib NO_DEFAULT_PATH REQUIRED)
find_library(IPEX_LIB intel-ext-pt-gpu)

I suspect something like this will just work. You can then specify the path using -DIPEX_LIB_ROOT=....

Comment on lines +3 to +8
if (AURORA_BUILD)
find_package(Threads REQUIRED)
target_link_libraries(dispatcher_tests PRIVATE testutils Threads::Threads)
else()
target_link_libraries(dispatcher_tests PRIVATE testutils)
endif()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants