Replace __kernel, __constant, __global and __local qualifiers with macro for better control
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#define uint_to_hex_lower8_le(i) (u32x) (l_bin2asc[(i).s0], l_bin2asc[(i).s1], l_bin2asc[(i).s2], l_bin2asc[(i).s3], l_bin2asc[(i).s4], l_bin2asc[(i).s5], l_bin2asc[(i).s6], l_bin2asc[(i).s7], l_bin2asc[(i).s8], l_bin2asc[(i).s9], l_bin2asc[(i).sa], l_bin2asc[(i).sb], l_bin2asc[(i).sc], l_bin2asc[(i).sd], l_bin2asc[(i).se], l_bin2asc[(i).sf])
|
||||
#endif
|
||||
|
||||
__kernel void m04700_m04 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_m04 (KERN_ATTR_RULES ())
|
||||
{
|
||||
/**
|
||||
* modifier
|
||||
@@ -42,7 +42,7 @@ __kernel void m04700_m04 (KERN_ATTR_RULES ())
|
||||
* bin2asc table
|
||||
*/
|
||||
|
||||
__local u32 l_bin2asc[256];
|
||||
LOCAL_AS u32 l_bin2asc[256];
|
||||
|
||||
for (u32 i = lid; i < 256; i += lsz)
|
||||
{
|
||||
@@ -313,15 +313,15 @@ __kernel void m04700_m04 (KERN_ATTR_RULES ())
|
||||
}
|
||||
}
|
||||
|
||||
__kernel void m04700_m08 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_m08 (KERN_ATTR_RULES ())
|
||||
{
|
||||
}
|
||||
|
||||
__kernel void m04700_m16 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_m16 (KERN_ATTR_RULES ())
|
||||
{
|
||||
}
|
||||
|
||||
__kernel void m04700_s04 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_s04 (KERN_ATTR_RULES ())
|
||||
{
|
||||
/**
|
||||
* modifier
|
||||
@@ -335,7 +335,7 @@ __kernel void m04700_s04 (KERN_ATTR_RULES ())
|
||||
* bin2asc table
|
||||
*/
|
||||
|
||||
__local u32 l_bin2asc[256];
|
||||
LOCAL_AS u32 l_bin2asc[256];
|
||||
|
||||
for (u32 i = lid; i < 256; i += lsz)
|
||||
{
|
||||
@@ -627,10 +627,10 @@ __kernel void m04700_s04 (KERN_ATTR_RULES ())
|
||||
}
|
||||
}
|
||||
|
||||
__kernel void m04700_s08 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_s08 (KERN_ATTR_RULES ())
|
||||
{
|
||||
}
|
||||
|
||||
__kernel void m04700_s16 (KERN_ATTR_RULES ())
|
||||
KERNEL_FQ void m04700_s16 (KERN_ATTR_RULES ())
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user