From c79ad236b164b7498d87b45a58d1ffa257f882f1 Mon Sep 17 00:00:00 2001 From: p8sljnpht <3178612685@qq.com> Date: Sat, 23 Nov 2024 10:48:34 +0800 Subject: [PATCH] ADD file via upload --- Chen | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Chen diff --git a/Chen b/Chen new file mode 100644 index 0000000..aba197a --- /dev/null +++ b/Chen @@ -0,0 +1,27 @@ +#include +#include +#include +#define SIZE 1024 + +void vector_add_optimized(float* A, float* B, float* C, int size); +int main() { + float A[SIZE], B[SIZE], C[SIZE]; + int i; + srand(time(0)); + for(i=0; i