{
    "TestAddAnyTypeAnyMemory": {
        "version": 1,
        "description": ["Test node that sum 2 runtime attributes that live either on the cpu or the gpu"],
        "uiName": "Test Node: add 2 runtime attribute on the cpu or the gpu (C++)",
        "icon": {
            "path": "TestNodeIcon.svg"
        },
        "categories": "internal:test",
        "scheduling": ["threadsafe"],
        "exclude": ["usd", "docs"],
        "inputs": {
            "vec": {
                "type": ["double[3]", "float[3]"],
                "memoryType": "any",
                "description": "vector[3] Input "
             },
			 "scalar": {
                "type": ["double", "float"],
                "memoryType": "any",
                "description": "A scalar to add to each vector component"
             }
        },
        "outputs": {
            "outGpu": {
                "memoryType": "cuda",
                "type": ["double[3]", "float[3]"],
                "description": "The result of the scalar added to each component of the vector on the GPU"
             },
            "outCpu": {
                "memoryType": "cpu",
                "type": [ "double[3]", "float[3]" ],
                "description": "The result of the scalar added to each component of the vector on the CPU"
            }
        },
        "tests": [
            { "inputs:vec": {"type" : "float[3]", "value": [2.0, 2.0, 2.0]}, "inputs:scalar": {"type" : "float", "value": 3.0},
            "outputs:outCpu": {"type" : "float[3]", "value": [5.0, 5.0, 5.0]}, "outputs:outGpu": {"type" : "float[3]", "value": [5.0, 5.0, 5.0]} },
            { "inputs:vec": {"type" : "float[3]", "value": [5.0, 5.0, 5.0]}, "inputs:scalar": {"type" : "float", "value": 10.0},
            "outputs:outCpu": {"type" : "float[3]", "value": [15.0, 15.0, 15.0]}, "outputs:outGpu": {"type" : "float[3]", "value": [15.0, 15.0, 15.0]} }
        ]
    }
}
