mirror of
https://github.com/fumiama/base16384-sycl.git
synced 2026-06-11 05:30:27 +08:00
feat: add -DBUILD=test & test CI
This commit is contained in:
15
include/test/kernels.hpp
Normal file
15
include/test/kernels.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _TEST_KERNELS_H_
|
||||
#define _TEST_KERNELS_H_
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace base16384 {
|
||||
class test {
|
||||
public:
|
||||
// base16384_test_kernels_basic is a demo calculation that implements
|
||||
// mod, bit, plus and mul calculations.
|
||||
SYCL_EXTERNAL static std::uint8_t kernels_basic(uint8_t in);
|
||||
};
|
||||
} // namespace base16384
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user