Skip to content

Commit c61b4ba

Browse files
committed
VK::Ann could now be built on conditional environment.
Vulkan as backend trial + some tweaks for make things possible. Changes to be committed: modified: CMakeLists.txt modified: README.md modified: src/ann/Mlp.def.cc modified: src/ann/Mlp.imp.c modified: src/ann/Slp.def.cc modified: src/ann/Slp.imp.c modified: src/vk/Slp.def.cc modified: test/ann/MlpTrainXOR.c modified: test/ann/MlpTrainXOR.c.cc modified: test/ann/MlpTrainXOR.cc modified: test/ann/SlpTrainAND.c new file: test/vk.h new file: test/vk/SlpInit-Primal.c
1 parent 1c6270e commit c61b4ba

File tree

13 files changed

+968
-302
lines changed

13 files changed

+968
-302
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cmake_minimum_required(VERSION 3.20)
22
enable_testing()
33
option(ae2f_CXX "" ON)
4-
option(ae2fVK_needed "" OFF)
4+
option(ae2fVK_needed "" ON)
55
option(ae2f_TEST "" ON)
6-
option(ae2f_MAC_BUILD "" OFF)
6+
option(ae2f_MAC_BUILD "" ON)
77
option(ae2f_IS_SHARED "" OFF)
8-
option(ae2f_DEVEL "" OFF)
8+
option(ae2f_DEVEL "" ON)
99

1010
include(cmake/Core.cmake)
1111

@@ -89,4 +89,6 @@ if(ae2fVK_needed AND NOT TARGET ae2fVK::Ann)
8989

9090
ae2f_itll(${ae2fVK__VK-Ann__TENT} ae2f::Ann)
9191
ae2f_itll(${ae2fVK__VK-Ann__TENT} ae2fVK::Core)
92+
93+
ae2f_CoreTestTent(${ae2fVK__VK-Ann__TENT} "test/vk")
9294
endif()

README.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,16 @@
33
44
[![ae2f-workflow](https://github.com/ae2f/Ann/actions/workflows/cmake-test.yml/badge.svg?branch=main)](https://github.com/ae2f/Ann/actions/workflows/cmake-test.yml)
55

6-
ANN interfaces with basic implementation for example.
6+
> ANN interfaces with basic implementation for example.
7+
> GPU acceleration backend is in plan to be shifted to vulkan.
8+
> Currently no GPU acceleration is supported.
79
8-
# See Also
9-
- ae2f::Core-Template
10-
- ae2f::Core
11-
- ae2fCL::Core
1210

1311
# Dependency
14-
- gcc
15-
- make
12+
- C>=90
13+
- C++>=98
1614
- cmake
17-
18-
# CL-Ann
19-
> Rel-v3.3.4
20-
21-
A simple ann project with opencl written in C.
22-
23-
# See Also
24-
- ae2f::Core-Template
2515
- ae2f::Core
26-
- ae2fCL::Core
27-
- ae2f::Ruler
28-
- ae2f::Ann
16+
- ae2f::Preproc
17+
2918

30-
# Dependency
31-
- gcc
32-
- make
33-
- cmake
34-
- opencl

0 commit comments

Comments
 (0)