Skip to content

Commit 665a70e

Browse files
Updated ci
1 parent 88c08e6 commit 665a70e

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

.github/workflows/todo.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Todo Checker
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
todo:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Begin CI...
14+
uses: actions/checkout@v3
15+
16+
- name: TODO to Issue
17+
uses: alstr/todo-to-issue-action@v4
18+
id: todo

float/float32/l2norm.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import math
44

55
// l2_norm_unitary returns the L2-norm of x.
66
pub fn l2_norm_unitary(x []f32) f32 {
7-
// @todo: Change when f32 math is ready
7+
// TODO: Change when f32 math is ready
88
mut scale := f32(0)
99
mut sum_squares := f32(1)
1010
for v in x {
@@ -32,7 +32,7 @@ pub fn l2_norm_unitary(x []f32) f32 {
3232

3333
// l2_norm_inc returns the L2-norm of x.
3434
pub fn l2_norm_inc(x []f32, n u32, incx u32) f32 {
35-
// @todo: Change when f32 math is ready
35+
// TODO: Change when f32 math is ready
3636
mut scale := f32(0)
3737
mut sum_squares := f32(1)
3838
for ix := u32(0); ix < n * incx; ix += incx {
@@ -61,7 +61,7 @@ pub fn l2_norm_inc(x []f32, n u32, incx u32) f32 {
6161

6262
// l2_distance_unitary returns the L2-norm of x-y.
6363
pub fn l2_distance_unitary(x []f32, y []f32) f32 {
64-
// @todo: Change when f32 math is ready
64+
// TODO: Change when f32 math is ready
6565
mut scale := f32(0)
6666
mut sum_squares := f32(1)
6767
for i, v in x {

la/blas.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module la
33
import vsl.blas
44
import math
55

6-
// @todo: @ulises-jeremias to remove this once https://github.com/vlang/v/issues/14047 is finished
6+
// TODO: @ulises-jeremias to remove this once https://github.com/vlang/v/issues/14047 is finished
77
fn arr_to_f64arr<T>(arr []T) []f64 {
88
mut ret := []f64{cap: arr.len}
99
for v in arr {

ml/linreg_test.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn test_lin_reg() {
3232
mut reg := new_lin_reg(mut data, 'linear regression')
3333

3434
reg.train()
35-
// @todo: Fix this test
35+
// TODO: Fix this test
3636
// assert float64.tolerance(reg.cost(), 5.312454218805082e-01, 1e-15)
3737
}
3838

vcl/kernel.c.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ fn (k &Kernel) set_arg(index int, arg ArgumentType) ? {
173173
Vector<u64> {
174174
return k.set_arg_buffer(index, arg.buf)
175175
}
176-
// @todo: Image {
176+
// TODO: Image {
177177
// return k.set_arg_buffer(index, arg.buf)
178178
// }
179-
// @todo: LocalBuffer {
179+
// TODO: LocalBuffer {
180180
// return k.set_arg_local(index, int(arg))
181181
// }
182182
else {}

0 commit comments

Comments
 (0)