File: Halide-VS2017.natvis

package info (click to toggle)
halide 21.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,752 kB
  • sloc: cpp: 289,334; ansic: 22,751; python: 7,486; makefile: 4,299; sh: 2,508; java: 1,549; javascript: 282; pascal: 207; xml: 127; asm: 9
file content (67 lines) | stat: -rw-r--r-- 2,224 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">

	<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" MenuName="Add to Image Watch"/>

	<Type Name="halide_buffer_t">
		<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
	</Type>

	<Type Name="halide_buffer_t">
		<Expand>
			<Synthetic Name="[type]" Condition='type.code == 0'>
				<DisplayString Condition='type.bits ==  8'>INT8</DisplayString>
				<DisplayString Condition='type.bits == 16'>INT16</DisplayString>
				<DisplayString Condition='type.bits == 32'>INT32</DisplayString>
			</Synthetic>
			<Synthetic Name="[type]" Condition='type.code == 1'>
				<DisplayString Condition='type.bits ==  8'>UINT8</DisplayString>
				<DisplayString Condition='type.bits == 16'>UINT16</DisplayString>
				<DisplayString Condition='type.bits == 32'>UINT32</DisplayString>
			</Synthetic>
			<Synthetic Name="[type]" Condition='type.code == 2'>
				<DisplayString Condition='type.bits == 16'>FLOAT16</DisplayString>
				<DisplayString Condition='type.bits == 32'>FLOAT32</DisplayString>
				<DisplayString Condition='type.bits == 64'>FLOAT64</DisplayString>
			</Synthetic>
			<Item Name="[channels]">dim[2].extent > 1 ? dim[2].extent : 1</Item>
			<Item Name="[width]">dim[0].extent</Item>
			<Item Name="[height]">dim[1].extent</Item>
			<Item Name="[data]">host</Item>
			<Item Name="[stride]">dim[1].stride * type.bits / 8</Item>
		</Expand>
	</Type>

	<Type Name="Halide::Runtime::Buffer&lt;*&gt;">
		<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
	</Type>
	
	<Type Name="Halide::Runtime::Buffer&lt;*&gt;">
		<Expand>
			<ExpandedItem>
				buf
			</ExpandedItem>
		</Expand>
	</Type>
	
	<Type Name="Halide::Buffer&lt;*&gt;">
		<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
	</Type>
	
	<Type Name="Halide::Buffer&lt;*&gt;">
		<Expand>
			<ExpandedItem>
				(Halide.dll!Halide::Internal::BufferContents*)contents.ptr
			</ExpandedItem>
		</Expand>
	</Type>

	<Type Name="Halide::Internal::BufferContents">
		<Expand>
			<ExpandedItem>
				buf.buf
			</ExpandedItem>
		</Expand>
	</Type>

</AutoVisualizer>