Changeset 16333
- Timestamp:
- 11/29/18 10:32:56 (6 years ago)
- Location:
- trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/HeuristicLab.NativeInterpreter-0.1/DllImporter.cs
r16274 r16333 15 15 } 16 16 17 public class NativeWrapper {17 public static class NativeWrapper { 18 18 private const string x86dll = "hl-native-interpreter-msvc-x86.dll"; 19 19 private const string x64dll = "hl-native-interpreter-msvc-x64.dll"; -
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/CMakeLists.txt
r16274 r16333 17 17 18 18 if(MSVC) 19 target_compile_options(hl-native-interpreter PRIVATE "/W4" "/Qvec-report:2" " $<$<CONFIG:Release>:/O2>")20 target_compile_options(hl-native-interpreter-vdt PRIVATE "/W4" "/Qvec-report:2" " $<$<CONFIG:Release>:/O2>")19 target_compile_options(hl-native-interpreter PRIVATE "/W4" "/Qvec-report:2" "/MT" "$<$<CONFIG:Release>:/O2>") 20 target_compile_options(hl-native-interpreter-vdt PRIVATE "/W4" "/Qvec-report:2" "/MT" "$<$<CONFIG:Release>:/O2>") 21 21 target_compile_definitions(hl-native-interpreter-vdt PRIVATE "USE_VDT") 22 22 else() -
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.cpp
r16274 r16333 50 50 if (remainingRows > 0) 51 51 { 52 for (int rowIndex = total; rowIndex < totalRows; rowIndex += remainingRows) 53 { 54 evaluate(code, codeLength, rows, rowIndex, remainingRows); 55 std::memcpy(result + rowIndex, code[0].buf, remainingRows * sizeof(double)); 56 } 52 evaluate(code, codeLength, rows, total, remainingRows); 53 std::memcpy(result + total, code[0].buf, remainingRows * sizeof(double)); 57 54 } 58 55 _aligned_free(buffer);
Note: See TracChangeset
for help on using the changeset viewer.