Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/pr-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
CONFIG__FALLBACK_MODELS: '["openai/Qwen/Qwen3-Coder-Next-FP8"]'
CONFIG__CUSTOM_MODEL_MAX_TOKENS: "32768"

# 리뷰 상세도 높이기
PR_REVIEWER__NUM_CODE_SUGGESTIONS: "5"
PR_REVIEWER__INLINE_CODE_COMMENTS: "true"
PR_REVIEWER__REQUIRE_SCORE_REVIEW: "true"
PR_REVIEWER__REQUIRE_TESTS_REVIEW: "true"
PR_REVIEWER__REQUIRE_SECURITY_REVIEW: "true"
PR_REVIEWER__REQUIRE_ESTIMATE_EFFORT_TO_REVIEW: "true"
PR_REVIEWER__PERSISTENT_COMMENT: "true"
PR_REVIEWER__EXTRA_INSTRUCTIONS: "코드의 버그, 성능 문제, 메모리 누수, 스레드 안전성 문제를 자세히 분석해주세요. 각 이슈에 대해 구체적인 수정 방법도 제안해주세요."

run: |
source ~/pr-agent-env/bin/activate

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
build-cuda/
21 changes: 21 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.20)

project(DNSS LANGUAGES CXX)

option(DNSS_ENABLE_CUDA "Enable CUDA acceleration for DNSS rotational feature computation" OFF)

add_library(dnss NSS.cpp NSS.h)
target_include_directories(dnss PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_features(dnss PUBLIC cxx_std_17)

if(DNSS_ENABLE_CUDA)
enable_language(CUDA)
find_package(CUDAToolkit REQUIRED)
if(NOT CMAKE_CUDA_ARCHITECTURES)
set(CMAKE_CUDA_ARCHITECTURES native)
endif()
target_sources(dnss PRIVATE dnss_cuda.cu)
target_compile_definitions(dnss PRIVATE DNSS_HAS_CUDA=1)
target_link_libraries(dnss PUBLIC CUDA::cudart)
set_target_properties(dnss PROPERTIES CUDA_SEPARABLE_COMPILATION ON CUDA_RESOLVE_DEVICE_SYMBOLS ON)
endif()
Loading