Skip to content

Commit bc26530

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 631259c + ead0e5c commit bc26530

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ else ()
1111
message(FATAL_ERROR "The compiler ${CMAKE_CXX_COMPILER} has no C++17 support. Please use a different C++ compiler.")
1212
endif ()
1313

14-
if (NOT EXISTS ${CMAKE_SOURCE_DIR}/third_party/ELFIO/elfio)
14+
if (NOT EXISTS third_party/ELFIO/elfio)
1515
message("-- ELFIO not found, fetching ELFIO...")
1616
execute_process(COMMAND git submodule update --init)
1717
add_subdirectory(third_party/ELFIO)

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ The recommended way to use librecuda is to clone the LibreCUDA repository and li
121121
CMake:
122122

123123
```
124-
git clone https://github.com/mikex86/LibreCuda.git
124+
git clone --recurse https://github.com/mikex86/LibreCuda.git
125125
```
126126

127127
#### Add the repository as a CMake directory

driverapi/src/librecuda.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ libreCudaStatus_t libreCuModuleLoadData(LibreCUmodule *pModule, const void *imag
865865
}
866866
} else {
867867
// insert padding
868-
NvU32 align = maxOf(section->get_addr_align(), force_section_align);
868+
NvU32 align = maxOf(static_cast<NvU32>(section->get_addr_align()), force_section_align);
869869
size_t num_padding_bytes = ((align - image_data.size()) % align);
870870
image_data.resize(image_data.size() + num_padding_bytes);
871871

tests/write_float/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ target_link_libraries(
88
driverapi
99
)
1010

11-
configure_file(${CMAKE_SOURCE_DIR}/tests/write_float/write_float.cubin ${CMAKE_BINARY_DIR}/bin COPYONLY)
11+
configure_file(write_float.cubin ${CMAKE_BINARY_DIR}/bin COPYONLY)

0 commit comments

Comments
 (0)